Skip to content

Commit

Permalink
Revert "library: Fix new-style modules check mode"
Browse files Browse the repository at this point in the history
This reverts commit bff2123.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits authored and dsavineau committed Dec 1, 2020
1 parent 41c7c77 commit 134ff59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions library/ceph_crush.py
Expand Up @@ -166,14 +166,14 @@ def run_module():
changed=False,
stdout='',
stderr='',
rc=0,
rc='',
start='',
end='',
delta='',
)

if module.check_mode:
module.exit_json(**result)
return result

startd = datetime.datetime.now()

Expand Down
4 changes: 2 additions & 2 deletions library/ceph_key.py
Expand Up @@ -530,14 +530,14 @@ def run_module():
changed=changed,
stdout='',
stderr='',
rc=0,
rc='',
start='',
end='',
delta='',
)

if module.check_mode:
module.exit_json(**result)
return result

startd = datetime.datetime.now()

Expand Down
4 changes: 2 additions & 2 deletions library/ceph_volume.py
Expand Up @@ -566,14 +566,14 @@ def run_module():
changed=False,
stdout='',
stderr='',
rc=0,
rc='',
start='',
end='',
delta='',
)

if module.check_mode:
module.exit_json(**result)
return result

# start execution
startd = datetime.datetime.now()
Expand Down

0 comments on commit 134ff59

Please sign in to comment.