From ae4d26983613f187b514dc083665ad3f6447931c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Mar 2020 09:53:51 +0000 Subject: [PATCH] fix typos --- pkg/csi-common/controllerserver-default.go | 2 +- pkg/util/idlocker.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/csi-common/controllerserver-default.go b/pkg/csi-common/controllerserver-default.go index eecb3a7f2..7423c5d93 100644 --- a/pkg/csi-common/controllerserver-default.go +++ b/pkg/csi-common/controllerserver-default.go @@ -77,7 +77,7 @@ func (cs *DefaultControllerServer) DeleteSnapshot(ctx context.Context, req *csi. return nil, status.Error(codes.Unimplemented, "") } -// ListSnapshots lists snapshosts +// ListSnapshots lists snapshots func (cs *DefaultControllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnapshotsRequest) (*csi.ListSnapshotsResponse, error) { return nil, status.Error(codes.Unimplemented, "") } diff --git a/pkg/util/idlocker.go b/pkg/util/idlocker.go index 5f08dce30..9167c80ae 100644 --- a/pkg/util/idlocker.go +++ b/pkg/util/idlocker.go @@ -20,10 +20,10 @@ import ( ) const ( - // VolumeOperationAlreadyExistsFmt string format to return for concerrent operation + // VolumeOperationAlreadyExistsFmt string format to return for concurrent operation VolumeOperationAlreadyExistsFmt = "an operation with the given Volume ID %s already exists" - // SnapshotOperationAlreadyExistsFmt string format to return for concerrent operation + // SnapshotOperationAlreadyExistsFmt string format to return for concurrent operation SnapshotOperationAlreadyExistsFmt = "an operation with the given Snapshot ID %s already exists" )