Skip to content

Commit

Permalink
wait for pvc deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Dong Ying Bo committed Apr 28, 2020
1 parent c1e1bad commit cf47df6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubeutils/kubeutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func deletePVC(pvc *v1.PersistentVolumeClaim) error {
if err != nil {
return err
}
time.Sleep(3000)
klog.Infof("delete pvc: %s/%s", pvc.Namespace, pvc.Name)
return nil

Expand Down

0 comments on commit cf47df6

Please sign in to comment.