Merge pull request #11122 from lilongfeng0902/minikube-lilf
Better to use "0777" than "0o777",instead of only in Gopull/11160/head
commit
f5035b5c28
|
@ -65,7 +65,7 @@ var RootCmd = &cobra.Command{
|
|||
Long: `minikube provisions and manages local Kubernetes clusters optimized for development workflows.`,
|
||||
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
||||
for _, path := range dirs {
|
||||
if err := os.MkdirAll(path, 0o777); err != nil {
|
||||
if err := os.MkdirAll(path, 0777); err != nil {
|
||||
exit.Error(reason.HostHomeMkdir, "Error creating minikube directory", err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue