CSI: fix wrong RPC name on ListSnapshots

This commit is contained in:
Tim Gross
2021-04-07 08:45:48 -04:00
committed by Tim Gross
parent 6a5fe39c80
commit bca3aa938b

View File

@@ -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
}