From 318cc16c274e1f5b80596153b5adc4fcbb0b24e5 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Mon, 21 Mar 2016 16:13:29 -0400 Subject: [PATCH] Fix size parameter documentation The generated documentation shows the size parameter as required. Set 'required' to 'false' and move the explanation to the description. Fixes #3278 --- cloud/openstack/os_volume.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/openstack/os_volume.py b/cloud/openstack/os_volume.py index 5a3d0aacab0..9e7436e1a5f 100644 --- a/cloud/openstack/os_volume.py +++ b/cloud/openstack/os_volume.py @@ -35,8 +35,9 @@ description: options: size: description: - - Size of volume in GB - required: only when state is 'present' + - Size of volume in GB. This parameter is required when the + I(state) parameter is 'present'. + required: false default: None display_name: description: