mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed missing parens
This commit is contained in:
parent
0a30663a1e
commit
8197922937
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def run_gluster(gargs, **kwargs):
|
|||
if rc != 0:
|
||||
module.fail_json(msg='error running gluster (%s) command (rc=%d): %s' % (' '.join(args), rc, out if out != '' else err))
|
||||
except Exception, e:
|
||||
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e))
|
||||
module.fail_json(msg='error running gluster (%s) command: %s' % (' '.join(args), str(e)))
|
||||
return out
|
||||
|
||||
def run_gluster_nofail(gargs, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue