Export GetKubeNamespace function from kubectl

This commit is contained in:
Michal Fojtik
2014-12-03 13:15:48 +01:00
parent 993ef88eec
commit 17e24aed47
4 changed files with 14 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ Examples:
// use the default namespace if not specified, or check for conflict with the file's namespace
if len(namespace) == 0 {
namespace = getKubeNamespace(cmd)
namespace = GetKubeNamespace(cmd)
} else {
err = CompareNamespaceFromFile(cmd, namespace)
checkErr(err)