Description
For consistency with docs which refers to the value as 'None' and the api returns it as 'false.' Also it can confuse unmarshalling when property is recognized as a 'bool' as in golang.
json: cannot unmarshal bool into Go struct field LDAPSettings.encryption
|
Because I have encryption set as a String, so this requires custom unmarshalling.
Attachments
For Gerrit Dashboard: MB-35567 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
113722,2 | MB-35567: Use None instead of false for 'no encryption' in ldap | master | ns_server | Status: MERGED | +2 | +1 |
113723,6 | MB-35567 Use None instead of false for 'no encryption' in ldap | master | couchbase-cli | Status: MERGED | +2 | +1 |
113737,3 | MB-35567: Use None instead of false for 'no encryption' (part 2) | master | ns_server | Status: MERGED | +2 | +1 |
123016,3 | MB-35567: Encryption is 'None' instead of 'false' | master | gocbmgr | Status: MERGED | +2 | +1 |