From 1c49a1f01da73b8eed701809de88b408e738dfed Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Wed, 8 Mar 2017 10:01:16 +0800 Subject: Fix NoneType error for volume snapshot create command In volume snapshot command, is the same as when --volume is not specified, but cannot be None, so when is not specified ( is None), a NoneType error appears. So make no longer optional, it should be always present. Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f Closes-bug: #1659894 --- doc/source/backwards-incompatible.rst | 15 +++++++++++++++ doc/source/command-objects/volume-snapshot.rst | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/source/backwards-incompatible.rst b/doc/source/backwards-incompatible.rst index 22c300de..0202e8a5 100644 --- a/doc/source/backwards-incompatible.rst +++ b/doc/source/backwards-incompatible.rst @@ -27,6 +27,21 @@ Backwards Incompatible Changes .. * Remove in: <5.0> .. * Commit: +Release 3.10 +------------ + +1. The positional argument ```` of the ``volume snapshot create`` + command is no longer optional. + + Previously when the ``--volume`` option was + present ```` defaulted to the ``--volume`` value. When the + ``--volume`` option is not present now it defaults to the value of + ````. + + * As of: 3.10 + * Bug: 1659894 + * Commit: https://review.openstack.org/440497 + Release 3.0 ----------- diff --git a/doc/source/command-objects/volume-snapshot.rst b/doc/source/command-objects/volume-snapshot.rst index 67db62f2..30cc77cc 100644 --- a/doc/source/command-objects/volume-snapshot.rst +++ b/doc/source/command-objects/volume-snapshot.rst @@ -49,7 +49,7 @@ Create new volume snapshot .. _volume_snapshot_create-snapshot-name: .. describe:: - Name of the new snapshot (default to None) + Name of the new snapshot volume snapshot delete ---------------------- -- cgit v1.2.1