Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Autorotate policy was send as empty struct when disabled
When EnableAutoRotatePolicy and FrequencyInDays are respectively false and 0 AutoRotateCredentialPolicyInputSpec was serialized as empty object causing API error. This servers the case when the autorotate policy for credential has to be disabled i.e. EnableAutoRotatePolicy is false. Having the omitempty attrbute does not send the value over the wire. Signed-off-by: Vasil Atanasov <vasila@vmware.com>
- Loading branch information