diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-11-30 10:39:16 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-11-30 10:39:16 +0000 |
| commit | 12cc6347e58d41a42fc20d19c9f984aec55f655b (patch) | |
| tree | 2457ff0534f4999aee8399857c622b79d3a422e7 /openstackclient/volume | |
| parent | b920245f10b28544649aa122bb5dc450c71a76d1 (diff) | |
| parent | d1a58653ab8c3a98f2315ebbffd5e86be0beb966 (diff) | |
| download | python-openstackclient-12cc6347e58d41a42fc20d19c9f984aec55f655b.tar.gz | |
Merge "Use is_public to set access of volume type"
Diffstat (limited to 'openstackclient/volume')
| -rw-r--r-- | openstackclient/volume/v2/volume_type.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py index 8cca86f9..583e6ed9 100644 --- a/openstackclient/volume/v2/volume_type.py +++ b/openstackclient/volume/v2/volume_type.py @@ -73,9 +73,9 @@ class CreateVolumeType(show.ShowOne): kwargs = {} if parsed_args.public: - kwargs['public'] = True + kwargs['is_public'] = True if parsed_args.private: - kwargs['private'] = True + kwargs['is_public'] = False volume_type = volume_client.volume_types.create( parsed_args.name, |
