Fixes parameters to fail_json (#40756) (#40757)

The number of parameters was incorrect. This patch fixes it.

(cherry picked from commit 547a1ed67d)
This commit is contained in:
Tim Rupp 2018-05-26 16:06:00 -07:00 committed by GitHub
parent 882f249f1d
commit a018a1e6d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@ except ImportError:
def hard_timeout(module, want, start):
elapsed = datetime.datetime.utcnow() - start
module.fail_json(
want.msg or "Timeout when waiting for BIG-IP", elapsed=elapsed.seconds
msg=want.msg or "Timeout when waiting for BIG-IP", elapsed=elapsed.seconds
)