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