diff --git a/csi/controller_server.go b/csi/controller_server.go index af11bdc776..e584a49ac9 100644 --- a/csi/controller_server.go +++ b/csi/controller_server.go @@ -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) }