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:
committed by
Alena Prokharchyk
parent
316a8acc04
commit
4bcc025ae3
@@ -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)
|
||||
|
Reference in New Issue
Block a user