1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-02 15:54:32 +00:00

Revert "Don't strip strings on output"

This reverts commit 5e344d90cd.
Tested this and it broke more scenarios
This commit is contained in:
Craig Jellick
2018-08-17 14:19:14 -07:00
committed by Alena Prokharchyk
parent 316a8acc04
commit 4bcc025ae3
2 changed files with 2 additions and 9 deletions

View File

@@ -330,9 +330,6 @@ func ConvertSimple(fieldType string, value interface{}, op Operation) (interface
case "password":
return convert.ToString(value), nil
case "string":
if op.IsList() {
return convert.ToStringNoTrim(value), nil
}
return convert.ToString(value), nil
case "dnsLabel":
str := convert.ToString(value)