mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Fix typos in purefa_pgsnap module (#53643)
This commit is contained in:
parent
df04f732f9
commit
38c742ccf3
1 changed files with 2 additions and 2 deletions
|
@ -225,10 +225,10 @@ def main():
|
||||||
array = get_system(module)
|
array = get_system(module)
|
||||||
pgroup = get_pgroup(module, array)
|
pgroup = get_pgroup(module, array)
|
||||||
if pgroup is None:
|
if pgroup is None:
|
||||||
module.fail_json(msg="Protection Group {0} does not exist".format(module.params('pgroup')))
|
module.fail_json(msg="Protection Group {0} does not exist".format(module.params['name']))
|
||||||
pgsnap = get_pgsnapshot(module, array)
|
pgsnap = get_pgsnapshot(module, array)
|
||||||
if pgsnap is None:
|
if pgsnap is None:
|
||||||
module.fail_json(msg="Selected volume {0} does not exist in the Protection Group".format(module.params('name')))
|
module.fail_json(msg="Selected volume {0} does not exist in the Protection Group".format(module.params['name']))
|
||||||
if ":" in module.params['name']:
|
if ":" in module.params['name']:
|
||||||
rvolume = get_rpgsnapshot(module, array)
|
rvolume = get_rpgsnapshot(module, array)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue