Skip to content

Commit

Permalink
Merge "Include user_id attribute in volume information"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Mar 3, 2020
2 parents 7fbc27e + 798b754 commit 36380ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openstack/block_storage/v2/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Volume(resource.Resource):
host = resource.Body("os-vol-host-attr:host")
#: The project ID associated with current back-end.
project_id = resource.Body("os-vol-tenant-attr:tenant_id")
#: The user ID associated with the volume
user_id = resource.Body("user_id")
#: The status of this volume's migration (None means that a migration
#: is not currently in progress).
migration_status = resource.Body("os-vol-mig-status-attr:migstat")
Expand Down
2 changes: 2 additions & 0 deletions openstack/block_storage/v3/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Volume(resource.Resource):
host = resource.Body("os-vol-host-attr:host")
#: The project ID associated with current back-end.
project_id = resource.Body("os-vol-tenant-attr:tenant_id")
#: The user ID associated with the volume
user_id = resource.Body("user_id")
#: The status of this volume's migration (None means that a migration
#: is not currently in progress).
migration_status = resource.Body("os-vol-mig-status-attr:migstat")
Expand Down

0 comments on commit 36380ad

Please sign in to comment.