Skip to content

Commit ec630df

Browse files
authored
[Documentation][zos_volume_init] Add and standarize docstrings on modules/zos_volume_init.py (#1392)
* Add and standarize docstrings on module-utils/zos_tso_command.py * Add changelog fragment
1 parent 54ea6ba commit ec630df

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
trivial:
2+
- zos_volume_init - Updated docstrings to numpy style for visual aid to developers.
3+
(https://github.com/ansible-collections/ibm_zos_core/pull/1392).

plugins/modules/zos_volume_init.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,13 @@
230230

231231

232232
def run_module():
233+
"""Initialize the module.
233234
235+
Raises
236+
------
237+
fail_json
238+
'Index' cannot be False for SMS managed volumes.
239+
"""
234240
module_args = dict(
235241
address=dict(type="str", required=True),
236242
verify_volid=dict(type="str", required=False),

0 commit comments

Comments
 (0)