Skip to content

Commit

Permalink
csi: Fix typo of the log in ControllerUnpublishVolume()
Browse files Browse the repository at this point in the history
Longhorn #347

Signed-off-by: Shuo Wu <shuo@rancher.com>
  • Loading branch information
Shuo Wu authored and yasker committed Nov 8, 2019
1 parent db803e6 commit 130eb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csi/controller_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func (cs *ControllerServer) ControllerUnpublishVolume(ctx context.Context, req *
return nil, status.Error(codes.Internal, err.Error())
}
if existVol == nil {
msg := fmt.Sprintf("ControllerPublishVolume: the volume %s not exists", req.GetVolumeId())
msg := fmt.Sprintf("ControllerUnpublishVolume: the volume %s not exists", req.GetVolumeId())
logrus.Warn(msg)
return nil, status.Error(codes.NotFound, msg)
}
Expand Down

0 comments on commit 130eb17

Please # to comment.