Open BraddMPiontek opened 4 years ago
No, the specific one I care about is:
https://github.com/chiradeep/go-nitro/blob/master/config/lb/lbvserver.go#L125
However, this would apply to any netscaler integers where 0 is a valid value.
I forked your code and removed the omitempty (as a simple test, this likely is not the right solution) and built it into the terraform-provider-vshere provider, and tested with that and I'm now able to set that specific value to 0
We are using this API indirectly via the terrafrom citrixadc provider and are having the issue described in this issue.
The issue I'm seeing is we can't set the lb_persistenttimeout (Timeout) on the netscaler because when I do this, the value of zero is omitted from the JSON payload, even though this is a valid value (and is the preferred value for this setting per citrix docs)