mirror of https://github.com/ceph/ceph-ansible.git
validate: fix a typo
pull/3897/head5aa2779461
introduced a typo. This commit fixes it. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commitd6e28ffd27
)
parent
fa388f51cb
commit
f360f8d1a9
|
@ -111,7 +111,7 @@ class ActionModule(ActionBase):
|
||||||
display.error(msg)
|
display.error(msg)
|
||||||
reason = "[{}] Reason: {}".format(host, error.reason)
|
reason = "[{}] Reason: {}".format(host, error.reason)
|
||||||
try:
|
try:
|
||||||
if "schema is missing" not str(error):
|
if "schema is missing" not in str(error):
|
||||||
for i in range(0, len(error.path)):
|
for i in range(0, len(error.path)):
|
||||||
if i == 0:
|
if i == 0:
|
||||||
given = "[{}] Given value for {}".format(
|
given = "[{}] Given value for {}".format(
|
||||||
|
|
Loading…
Reference in New Issue