commit | 5e65016aca23526098ac2449265eab332b89b3e3 | [log] [tgz] |
---|---|---|
author | Ildar Svetlov <isvetlov@mirantis.com> | Fri Apr 13 16:16:57 2018 +0400 |
committer | Ildar Svetlov <isvetlov@mirantis.com> | Fri Apr 13 16:16:57 2018 +0400 |
tree | 50a7daeddbfad7b3f6bc276724661110477f5bc9 | |
parent | 8edb1e8bc8852e9ec77e014cbb2afeff5b4fe13f [diff] |
Add parameter to volume list request Change-Id: I9700f2d53ce3c873759946b51f69ca4e056595c1
diff --git a/openstack/blockstorage/v2/volumes/requests.go b/openstack/blockstorage/v2/volumes/requests.go index 44f6240..a51eebc 100644 --- a/openstack/blockstorage/v2/volumes/requests.go +++ b/openstack/blockstorage/v2/volumes/requests.go
@@ -91,6 +91,8 @@ Name string `q:"name"` // List only volumes that have a status of Status. Status string `q:"status"` + // The ID of the last-seen item. + Marker string `q:"marker"` } // ToVolumeListQuery formats a ListOpts into a query string.
diff --git a/openstack/blockstorage/v3/volumes/requests.go b/openstack/blockstorage/v3/volumes/requests.go index 44f6240..a51eebc 100644 --- a/openstack/blockstorage/v3/volumes/requests.go +++ b/openstack/blockstorage/v3/volumes/requests.go
@@ -91,6 +91,8 @@ Name string `q:"name"` // List only volumes that have a status of Status. Status string `q:"status"` + // The ID of the last-seen item. + Marker string `q:"marker"` } // ToVolumeListQuery formats a ListOpts into a query string.