mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
address comments
This commit is contained in:
@@ -88,10 +88,7 @@ func isExecAvailable(name string) bool {
|
|||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if f.Mode()&0111 != 0000 {
|
return f.Mode()&0111 != 0000
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func loadAndConfigurePlugin(
|
func loadAndConfigurePlugin(
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ type: Opaque
|
|||||||
|
|
||||||
func TestConfigMapGenerator(t *testing.T) {
|
func TestConfigMapGenerator(t *testing.T) {
|
||||||
tc := NewTestEnvController(t).Set()
|
tc := NewTestEnvController(t).Set()
|
||||||
//defer tc.Reset()
|
defer tc.Reset()
|
||||||
|
|
||||||
tc.BuildExecPlugin(
|
tc.BuildExecPlugin(
|
||||||
"someteam.example.com", "v1", "ConfigMapGenerator")
|
"someteam.example.com", "v1", "ConfigMapGenerator")
|
||||||
|
|||||||
Reference in New Issue
Block a user