[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:15 UTC 2013


The following commit has been merged in the master branch:
commit da5bfbe2f3efc8eefafd36abf6db4c01a96c2abc
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Fri May 3 17:08:00 2013 -0700

    Show security group names, not IDs, for reservations

diff --git a/euca2ools/commands/euca/__init__.py b/euca2ools/commands/euca/__init__.py
index f4c3a16..02233cb 100644
--- a/euca2ools/commands/euca/__init__.py
+++ b/euca2ools/commands/euca/__init__.py
@@ -218,7 +218,7 @@ class EucalyptusRequest(requestbuilder.request.AWSQueryRequest,
         res_line = ['RESERVATION', reservation['reservationId'],
                     reservation.get('ownerId')]
         # group.get('entry') is a workaround for a CLC bug
-        group_ids = [group.get('groupId') or group.get('entry') or ''
+        group_ids = [group.get('groupName') 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