mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
CSI: fix wrong output struct for snapshot list endpoint
This commit is contained in:
@@ -340,7 +340,7 @@ func (s *HTTPServer) csiSnapshotList(resp http.ResponseWriter, req *http.Request
|
||||
}
|
||||
|
||||
setMeta(resp, &out.QueryMeta)
|
||||
return out.Snapshots, nil
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// CSIPluginsRequest lists CSI plugins
|
||||
|
||||
Reference in New Issue
Block a user