Fix broken fail_json in zuul_console

There was an occurrence to fail_json where the message was put in via
a positional argument instead of the msg keyword.

Change-Id: Ie4b9935869fab01e598fd7f34a5245515152c09b
This commit is contained in:
Tobias Henkel 2018-02-12 09:02:46 +01:00
parent 7f3d1f237f
commit 61abe44424
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ def main():
inode = get_inode()
if not inode:
module.fail_json(
"Could not find inode for port",
msg="Could not find inode for port",
exceptions=[])
pid, exceptions = get_pid_from_inode(inode)