mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 16:35:44 +03:00
CSI: fix wrong RPC name on ListSnapshots
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user