summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/v2/volume.py2
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']