summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/plugins/deployment/plugin.go
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-12-19 00:15:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-19 00:15:17 +0000
commit881691b184661e460d3f6973d535a231e5d089de (patch)
tree5be4044e32e26a09e692dfe6685bb891f2baaf00 /src/k8splugin/plugins/deployment/plugin.go
parent2da9b6c0498528a6eac478fa7b334906457f7b82 (diff)
parenta1abd829315d72adb258da20470eaa2445cf3e32 (diff)
Merge "Add Network and OVN4NFV Plugins"
Diffstat (limited to 'src/k8splugin/plugins/deployment/plugin.go')
-rw-r--r--src/k8splugin/plugins/deployment/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/plugins/deployment/plugin.go b/src/k8splugin/plugins/deployment/plugin.go
index 97330b5b..84d01a7d 100644
--- a/src/k8splugin/plugins/deployment/plugin.go
+++ b/src/k8splugin/plugins/deployment/plugin.go
@@ -31,7 +31,7 @@ func Create(data *krd.ResourceData, client kubernetes.Interface) (string, error)
if namespace == "" {
namespace = "default"
}
- obj, err := krd.DecodeYAML(data.YamlFilePath)
+ obj, err := krd.DecodeYAML(data.YamlFilePath, nil)
if err != nil {
return "", pkgerrors.Wrap(err, "Decode deployment object error")
}