[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:29:43 UTC 2013
The following commit has been merged in the master branch:
commit b1c47b9a329402ca68129ebee79866307d5399d7
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Sat Apr 14 21:29:08 2012 -0700
Fix generic tag:<key>=<value> filter
diff --git a/euca2ools/commands/euca/describevolumes.py b/euca2ools/commands/euca/describevolumes.py
index 8224cef..db00fd9 100644
--- a/euca2ools/commands/euca/describevolumes.py
+++ b/euca2ools/commands/euca/describevolumes.py
@@ -28,7 +28,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-from requestbuilder import Arg, Filter, PrefixComparableString
+from requestbuilder import Arg, Filter, GenericTagFilter
from . import EucalyptusRequest
class DescribeVolumes(EucalyptusRequest):
@@ -56,9 +56,8 @@ class DescribeVolumes(EucalyptusRequest):
Filter('tag-key', help='key of a tag assigned to the volume'),
Filter('tag-value',
help='value of a tag assigned to the volume'),
- ## TODO: test the filter below
- Filter(PrefixComparableString('tag:key', prefix='tag:'),
- help='specific tag/value combination'),
+ GenericTagFilter('tag:KEY',
+ help='specific tag/value combination'),
Filter(name='volume-id')]
ListMarkers = ['volumeSet', 'attachmentSet']
ItemMarkers = ['item']
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list