forked from LaconicNetwork/kompose
Updated Vendoring
This commit is contained in:
+3
@@ -52,6 +52,9 @@ func tomlValueStringRepresentation(v interface{}) (string, error) {
|
||||
return strconv.FormatFloat(value, 'f', -1, 32), nil
|
||||
case string:
|
||||
return "\"" + encodeTomlString(value) + "\"", nil
|
||||
case []byte:
|
||||
b, _ := v.([]byte)
|
||||
return tomlValueStringRepresentation(string(b))
|
||||
case bool:
|
||||
if value {
|
||||
return "true", nil
|
||||
|
||||
Reference in New Issue
Block a user