From 130eb17ab16b8bcfdb4d3b6a1340a48e00d3c229 Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Thu, 31 Oct 2019 16:48:59 -0700 Subject: [PATCH] csi: Fix typo of the log in ControllerUnpublishVolume() Longhorn #347 Signed-off-by: Shuo Wu --- csi/controller_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }