Skip to content

Commit

Permalink
cleanup:change the error log when disconnecting volume
Browse files Browse the repository at this point in the history
Signed-off-by: yuefanxiao <[email protected]>
  • Loading branch information
yuefanxiao committed Jan 3, 2024
1 parent 36a08a6 commit db29e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iscsi/iscsi_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (util *ISCSIUtil) DetachDisk(c iscsiDiskUnmounter, targetPath string) error
klog.Info("detaching ISCSI device")
err = connector.DisconnectVolume()
if err != nil {
klog.Errorf("iscsi detach disk: failed to get iscsi config from path %s Error: %v", targetPath, err)
klog.Errorf("iscsi detach disk: failed to disconnect volume Error: %v", err)
return err
}

Expand Down

0 comments on commit db29e8b

Please sign in to comment.