mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
Fixes #1612 kubelet should fail to start if it cannot create rootDir
This commit is contained in:
@@ -141,7 +141,7 @@ func main() {
|
||||
}
|
||||
*rootDirectory = path.Clean(*rootDirectory)
|
||||
if err := os.MkdirAll(*rootDirectory, 0750); err != nil {
|
||||
glog.Warningf("Error creating root directory: %v", err)
|
||||
glog.Fatalf("Error creating root directory: %v", err)
|
||||
}
|
||||
|
||||
// source of all configuration
|
||||
|
Reference in New Issue
Block a user