diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2017-03-08 10:01:16 +0800 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2017-04-26 11:07:08 -0500 |
| commit | 1c49a1f01da73b8eed701809de88b408e738dfed (patch) | |
| tree | decfdfb36d616d70d40e98b534ff93ea5390aecc /releasenotes | |
| parent | bf1f47c1be5bf9f6b25eab21eb06c3b0473bf34f (diff) | |
| download | python-openstackclient-1c49a1f01da73b8eed701809de88b408e738dfed.tar.gz | |
Fix NoneType error for volume snapshot create command
In volume snapshot command, <volume> is the same
as <snapshot-name> when --volume is not specified,
but <volume> cannot be None, so when <snapshot-name>
is not specified (<snapshot-name> is None), a NoneType
error appears.
So make <snapshot-name> no longer optional, it should
be always present.
Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f
Closes-bug: #1659894
Diffstat (limited to 'releasenotes')
| -rw-r--r-- | releasenotes/notes/bug-1659894-4518b10615498ba9.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-1659894-4518b10615498ba9.yaml b/releasenotes/notes/bug-1659894-4518b10615498ba9.yaml new file mode 100644 index 00000000..e1afbb45 --- /dev/null +++ b/releasenotes/notes/bug-1659894-4518b10615498ba9.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Now the positional parameter ``<snapshot-name>`` of ``volume snapshot create`` + command is no longer optional, it should be always present. + [Bug `1659894 <https://bugs.launchpad.net/bugs/1659894>`_] |
