From fc4268dc7f6b76e4a3ed7bf744b6e868cf4feb94 Mon Sep 17 00:00:00 2001 From: Walter Boring Date: Fri, 5 Jun 2026 09:52:57 -0400 Subject: [PATCH] [cinder-csi-plugin] Fix incorrect RPC name in ListSnapshots error message The error message when the cloud is undefined in ListSnapshots incorrectly references "[DeleteSnapshot]" due to a copy-paste error. Fix it to say "[ListSnapshots]". Signed-off-by: Walter Boring --- pkg/csi/cinder/controllerserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/csi/cinder/controllerserver.go b/pkg/csi/cinder/controllerserver.go index 1a1b9e2ff6..a8a469aec6 100644 --- a/pkg/csi/cinder/controllerserver.go +++ b/pkg/csi/cinder/controllerserver.go @@ -794,7 +794,7 @@ func (cs *controllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnap volCloud := req.GetSecrets()["cloud"] cloud, cloudExist := cs.Clouds[volCloud] if !cloudExist { - return nil, status.Error(codes.InvalidArgument, "[DeleteSnapshot] specified cloud undefined") + return nil, status.Error(codes.InvalidArgument, "[ListSnapshots] specified cloud undefined") } snapshotID := req.GetSnapshotId()