From bca3aa938bee6f144f23bbc11eb07ba70e2d10d9 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Wed, 7 Apr 2021 08:45:48 -0400 Subject: [PATCH] CSI: fix wrong RPC name on ListSnapshots --- command/agent/csi_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/csi_endpoint.go b/command/agent/csi_endpoint.go index 658d53f59..7adf76818 100644 --- a/command/agent/csi_endpoint.go +++ b/command/agent/csi_endpoint.go @@ -323,7 +323,7 @@ func (s *HTTPServer) csiSnapshotList(resp http.ResponseWriter, req *http.Request args.PluginID = query.Get("plugin_id") var out structs.CSISnapshotListResponse - if err := s.agent.RPC("CSIVolume.SnapshotList", &args, &out); err != nil { + if err := s.agent.RPC("CSIVolume.ListSnapshots", &args, &out); err != nil { return nil, err }