Skip to content

Commit

Permalink
Fix bugs about karmada-data dir lost
Browse files Browse the repository at this point in the history
Signed-off-by: jwcesign <jiangwei115@huawei.com>
  • Loading branch information
jwcesign committed Sep 20, 2022
1 parent d81f0ff commit 6c730a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/karmadactl/cmdinit/kubernetes/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (i *CommandInitOption) Complete() error {
}
}

return nil
return os.MkdirAll(i.KarmadaDataPath, 0755)
}

// genCerts create ca etcd karmada cert
Expand Down

0 comments on commit 6c730a4

Please sign in to comment.