Skip to content

Commit

Permalink
fix: deleted unnecessary character
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Nov 19, 2024
1 parent c9be28e commit 6822501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/node_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (d *Driver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublish
if !mounted {
if err = os.RemoveAll(targetPath); err != nil {
log.Error().Str("targetPath", targetPath).Err(err).Msg("Failed to remove target path")
return nil, status.Errorf(codes.Internal, "failed to remove target path: %q: %s", targetPath, err)
return nil, status.Errorf(codes.Internal, "failed to remove target path %q: %s", targetPath, err)
}

return &csi.NodeUnpublishVolumeResponse{}, nil
Expand Down

0 comments on commit 6822501

Please sign in to comment.