validate: fix a typo

5aa2779461 introduced a typo.
This commit fixes it.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d6e28ffd27)
pull/3897/head
Guillaume Abrioux 2019-04-23 16:04:27 +02:00 committed by Dimitri Savineau
parent fa388f51cb
commit f360f8d1a9
1 changed files with 1 additions and 1 deletions

View File

@ -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(