diff options
Diffstat (limited to 'cinderclient/v3/shell.py')
-rw-r--r-- | cinderclient/v3/shell.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 05bdbef..698a0b0 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -2069,6 +2069,8 @@ def do_attachment_list(cs, args): marker=args.marker, limit=args.limit, sort=args.sort) + for attachment in attachments: + setattr(attachment, 'server_id', getattr(attachment, 'instance', None)) columns = ['ID', 'Volume ID', 'Status', 'Server ID'] if args.sort: sortby_index = None |