fix typos

This commit is contained in:
root 2020-03-24 09:53:51 +00:00 committed by mergify[bot]
parent 825448825c
commit ae4d269836
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ func (cs *DefaultControllerServer) DeleteSnapshot(ctx context.Context, req *csi.
return nil, status.Error(codes.Unimplemented, "") 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) { func (cs *DefaultControllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnapshotsRequest) (*csi.ListSnapshotsResponse, error) {
return nil, status.Error(codes.Unimplemented, "") return nil, status.Error(codes.Unimplemented, "")
} }

View File

@ -20,10 +20,10 @@ import (
) )
const ( 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" 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" SnapshotOperationAlreadyExistsFmt = "an operation with the given Snapshot ID %s already exists"
) )