From afbe34e6f91341a42df8c4fe18fa3580cd0a9fee Mon Sep 17 00:00:00 2001 From: Rohit Myali Date: Mon, 14 Oct 2024 09:47:43 +0000 Subject: [PATCH] Udpated read func to handle the attribute that was not received from NetScaler Signed-off-by: Rohit Myali --- citrixadc/resource_citrixadc_ip6tunnelparam.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/citrixadc/resource_citrixadc_ip6tunnelparam.go b/citrixadc/resource_citrixadc_ip6tunnelparam.go index d125344bc..f5ec02cb6 100644 --- a/citrixadc/resource_citrixadc_ip6tunnelparam.go +++ b/citrixadc/resource_citrixadc_ip6tunnelparam.go @@ -9,7 +9,6 @@ import ( "fmt" "log" - "strconv" ) func resourceCitrixAdcIp6tunnelparam() *schema.Resource { @@ -89,8 +88,9 @@ func readIp6tunnelparamFunc(d *schema.ResourceData, meta interface{}) error { return nil } d.Set("dropfrag", data["dropfrag"]) - val, _ := strconv.Atoi(data["dropfragcputhreshold"].(string)) - d.Set("dropfragcputhreshold", val) + // commenting as this attribute was not recieved from NetScaler + // val, _ := strconv.Atoi(data["dropfragcputhreshold"].(string)) + // d.Set("dropfragcputhreshold", val) d.Set("srcip", data["srcip"]) d.Set("srciproundrobin", data["srciproundrobin"]) d.Set("useclientsourceipv6", data["useclientsourceipv6"])