mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Tweak sequence treatment in fieldspecs
This commit is contained in:
@@ -14,10 +14,10 @@ import (
|
||||
|
||||
// typeToTag maps OpenAPI schema types to yaml 1.2 tags
|
||||
var typeToTag = map[string]string{
|
||||
"string": StringTag,
|
||||
"integer": IntTag,
|
||||
"boolean": BoolTag,
|
||||
"number": "!!float",
|
||||
"string": NodeTagString,
|
||||
"integer": NodeTagInt,
|
||||
"boolean": NodeTagBool,
|
||||
"number": NodeTagFloat,
|
||||
}
|
||||
|
||||
// FormatNonStringStyle makes sure that values which parse as non-string values in yaml 1.1
|
||||
|
||||
Reference in New Issue
Block a user