Skip to content

Commit 0965859

Browse files
committed
pvc changes
1 parent 0ae4bba commit 0965859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/kubviz/kubePreUpgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func publishK8sDepricated_Deleted_Api(result *model.Result, js nats.JetStreamCon
8181
func KubePreUpgradeDetector(config *rest.Config, js nats.JetStreamContext) error {
8282
pvcMountPath := "/mnt/agent/kbz"
8383
uniqueDir := fmt.Sprintf("%s/kubepug", pvcMountPath)
84-
err := os.Mkdir(uniqueDir, 0755)
84+
err := os.MkdirAll(uniqueDir, 0755)
8585
if err != nil {
8686
return err
8787
}

0 commit comments

Comments
 (0)