From 75c436f5448b8c4c32a28c9e8dc6f656b36d38d3 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Wed, 11 Dec 2024 11:56:04 +0900 Subject: [PATCH] fix: error message Signed-off-by: hlts2 --- pkg/driver/controller_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/driver/controller_server.go b/pkg/driver/controller_server.go index aee37d6..23c3827 100644 --- a/pkg/driver/controller_server.go +++ b/pkg/driver/controller_server.go @@ -103,7 +103,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) // } // snapshot := volSource.GetSnapshot() // if snapshot == nil { - // return nil, status.Error(codes.InvalidArgument, "failed to get snapshot from the volumeContentSource") + // return nil, status.Error(codes.InvalidArgument, "Volume content source type is set to Snapshot, but the Snapshot is not provided") // } // snapshotID = snapshot.GetSnapshotId() // }