We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54efc09 commit ab699f7Copy full SHA for ab699f7
deckhand.go
@@ -276,7 +276,9 @@ func GetKubernetesState(createPath string) {
276
277
// create the namespace path if it doesn't exist
278
if _, exist := os.Stat(namespacePath); os.IsNotExist(exist) {
279
- os.MkdirAll(filepath.Join(namespacePath), 0777)
+ if os.MkdirAll(filepath.Join(namespacePath), 0777) != nil {
280
+ log.Fatal("Can't recreate namespace path")
281
+ }
282
}
283
284
// save the namespace as well
0 commit comments