diff options
| author | TerryHowe <terrylhowe@gmail.com> | 2015-08-28 10:34:50 -0600 |
|---|---|---|
| committer | TerryHowe <terrylhowe@gmail.com> | 2015-08-28 11:11:37 -0600 |
| commit | 14a714f2a28d2f0ae232556c1f8ccd6d4a5b2043 (patch) | |
| tree | 37e17afb8a822c2b27d193abe52d065d34b8e8fc /openstackclient/volume | |
| parent | f14251669f96d6010581702417828f4380144aa2 (diff) | |
| download | python-openstackclient-14a714f2a28d2f0ae232556c1f8ccd6d4a5b2043.tar.gz | |
Volume v2 list does not show server name
The volume v2 list was using the volume id rather than
the server id.
Change-Id: Ibe03d34b5b503af2d00202dabd640f796449cf9a
Closes-Bug: #1489954
Diffstat (limited to 'openstackclient/volume')
| -rw-r--r-- | openstackclient/volume/v2/volume.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/volume/v2/volume.py b/openstackclient/volume/v2/volume.py index fe4a3ff6..1d298f46 100644 --- a/openstackclient/volume/v2/volume.py +++ b/openstackclient/volume/v2/volume.py @@ -238,7 +238,7 @@ class ListVolume(lister.Lister): msg = '' for attachment in attachments: - server = attachment['id'] + server = attachment['server_id'] if server in server_cache: server = server_cache[server].name device = attachment['device'] |
