mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-10 16:46:29 +00:00
Update smd repo to handle CRDs
This commit is contained in:
2
vendor/sigs.k8s.io/structured-merge-diff/value/unstructured.go
generated
vendored
2
vendor/sigs.k8s.io/structured-merge-diff/value/unstructured.go
generated
vendored
@@ -31,7 +31,7 @@ import (
|
||||
func FromYAML(input []byte) (Value, error) {
|
||||
var decoded interface{}
|
||||
|
||||
if len(input) == 0 || (len(input) == 4 && string(input) == "null") {
|
||||
if len(input) == 4 && string(input) == "null" {
|
||||
// Special case since the yaml package doesn't accurately
|
||||
// preserve this.
|
||||
return Value{Null: true}, nil
|
||||
|
||||
Reference in New Issue
Block a user