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 }