[pkg-eucalyptus-commits] [euca2ools] 32/41: Fix DetachVolume params

Charles Plessy plessy at alioth.debian.org
Sat Oct 12 03:24:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

plessy pushed a commit to branch master
in repository euca2ools.

commit a0ad0b1db0812c8f577c044a2b50c7e0e9f5db36
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Sep 17 12:42:29 2013 -0700

    Fix DetachVolume params
---
 euca2ools/commands/euca/detachvolume.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/euca2ools/commands/euca/detachvolume.py b/euca2ools/commands/euca/detachvolume.py
index 24df77a..65ddc1d 100644
--- a/euca2ools/commands/euca/detachvolume.py
+++ b/euca2ools/commands/euca/detachvolume.py
@@ -31,10 +31,10 @@ class DetachVolume(EucalyptusRequest):
     DESCRIPTION = 'Detach a volume from an instance'
     ARGS = [Arg('VolumeId', metavar='VOLUME',
                 help='ID of the volume to detach (required)'),
-            Arg('-i', '--instance', dest='InstanceID', metavar='INSTANCE',
+            Arg('-i', '--instance', dest='InstanceId', metavar='INSTANCE',
                 help='instance to detach from'),
             Arg('-d', '--device', dest='Device', help='device name'),
-            Arg('-f', '--force', action='store_const', const='true',
+            Arg('-f', '--force', dest='Force', action='store_true',
                 help='''detach without waiting for the instance.  Data may be
                 lost.''')]
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-eucalyptus/euca2ools.git



More information about the pkg-eucalyptus-commits mailing list