[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:31:24 UTC 2013
The following commit has been merged in the master branch:
commit 34c08bdf27849120c71d380b168b6da8c8f7a372
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Tue May 14 10:40:06 2013 -0700
Fall back to printing group IDs when names absent
Fixes TOOLS-337
diff --git a/euca2ools/commands/euca/__init__.py b/euca2ools/commands/euca/__init__.py
index d4a85e2..8d712bb 100644
--- a/euca2ools/commands/euca/__init__.py
+++ b/euca2ools/commands/euca/__init__.py
@@ -228,7 +228,8 @@ class EucalyptusRequest(AWSQueryRequest, TabifyingMixin):
res_line = ['RESERVATION', reservation['reservationId'],
reservation.get('ownerId')]
# group.get('entry') is a workaround for a CLC bug
- group_ids = [group.get('groupName') or group.get('entry') or ''
+ group_ids = [group.get('groupName') or group.get('groupId') or
+ group.get('entry') or ''
for group in reservation['groupSet']]
res_line.append(', '.join(group_ids))
print self.tabify(res_line)
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list