summaryrefslogtreecommitdiff
path: root/vendor/sigs.k8s.io/yaml/yaml_go110.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-25 19:00:14 +0100
committerGitHub <noreply@github.com>2021-02-25 19:00:14 +0100
commitb220d6cd06360d6b868cd7fb7c32d2602aab69a5 (patch)
tree6777cc2c23306d1a6b87ef40b9fe4eab2764b7dd /vendor/sigs.k8s.io/yaml/yaml_go110.go
parent9ec8106841c55bc085012727748e2d73826be97d (diff)
parent24d9bda7ff8a3e6a9f249401e05e35e73284ae61 (diff)
downloadpodman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.gz
podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.bz2
podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.zip
Merge pull request #9518 from baude/pruneremotecommand
prune remotecommand dependency
Diffstat (limited to 'vendor/sigs.k8s.io/yaml/yaml_go110.go')
-rw-r--r--vendor/sigs.k8s.io/yaml/yaml_go110.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/sigs.k8s.io/yaml/yaml_go110.go b/vendor/sigs.k8s.io/yaml/yaml_go110.go
deleted file mode 100644
index ab3e06a22..000000000
--- a/vendor/sigs.k8s.io/yaml/yaml_go110.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file contains changes that are only compatible with go 1.10 and onwards.
-
-// +build go1.10
-
-package yaml
-
-import "encoding/json"
-
-// DisallowUnknownFields configures the JSON decoder to error out if unknown
-// fields come along, instead of dropping them by default.
-func DisallowUnknownFields(d *json.Decoder) *json.Decoder {
- d.DisallowUnknownFields()
- return d
-}