diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-23 21:36:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-23 21:36:14 +0000 |
| commit | ab6b9dc389792ce4b230777d185bffdd4d2872ba (patch) | |
| tree | 5de9d044c95e6a647dd9ec0c00970a1213c943df /openstackclient/volume | |
| parent | 578cd12dfb2140da48dd5f8d2ed3e6a3e2906a2d (diff) | |
| parent | fd876e4cc699d7e6da7c5439a8452c4a8b395139 (diff) | |
| download | python-openstackclient-ab6b9dc389792ce4b230777d185bffdd4d2872ba.tar.gz | |
Merge "Fix unset commands to pass normally when nothing specified"
Diffstat (limited to 'openstackclient/volume')
| -rw-r--r-- | openstackclient/volume/v1/qos_specs.py | 1 | ||||
| -rw-r--r-- | openstackclient/volume/v1/snapshot.py | 2 | ||||
| -rw-r--r-- | openstackclient/volume/v1/volume_type.py | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/volume/v1/qos_specs.py b/openstackclient/volume/v1/qos_specs.py index b982c0e6..93c24a21 100644 --- a/openstackclient/volume/v1/qos_specs.py +++ b/openstackclient/volume/v1/qos_specs.py @@ -273,7 +273,6 @@ class UnsetQos(command.Command): '--property', metavar='<key>', action='append', - default=[], help=_('Property to remove from the QoS specification. ' '(repeat option to unset multiple properties)'), ) diff --git a/openstackclient/volume/v1/snapshot.py b/openstackclient/volume/v1/snapshot.py index c4d113a3..bc92c0f5 100644 --- a/openstackclient/volume/v1/snapshot.py +++ b/openstackclient/volume/v1/snapshot.py @@ -283,8 +283,6 @@ class UnsetSnapshot(command.Command): '--property', metavar='<key>', action='append', - default=[], - required=True, help=_('Property to remove from snapshot ' '(repeat option to remove multiple properties)'), ) diff --git a/openstackclient/volume/v1/volume_type.py b/openstackclient/volume/v1/volume_type.py index 625b34dc..61e9f7fc 100644 --- a/openstackclient/volume/v1/volume_type.py +++ b/openstackclient/volume/v1/volume_type.py @@ -188,10 +188,8 @@ class UnsetVolumeType(command.Command): '--property', metavar='<key>', action='append', - default=[], help=_('Remove a property from this volume type ' '(repeat option to remove multiple properties)'), - required=True, ) return parser |
