From f360f8d1a9812f4ad1f271cbd741613a8bad4aea Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 23 Apr 2019 16:04:27 +0200 Subject: [PATCH] validate: fix a typo 5aa27794615e7d4521b1dbf1444b61388aacb852 introduced a typo. This commit fixes it. Signed-off-by: Guillaume Abrioux (cherry picked from commit d6e28ffd277b0052fa5d8e247b0088630b1fb383) --- plugins/actions/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/actions/validate.py b/plugins/actions/validate.py index 4c979f435..d0a340474 100644 --- a/plugins/actions/validate.py +++ b/plugins/actions/validate.py @@ -111,7 +111,7 @@ class ActionModule(ActionBase): display.error(msg) reason = "[{}] Reason: {}".format(host, error.reason) try: - if "schema is missing" not str(error): + if "schema is missing" not in str(error): for i in range(0, len(error.path)): if i == 0: given = "[{}] Given value for {}".format(