mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Warnings should not increment the exit status
This commit is contained in:
parent
95c9e11cba
commit
cf9b22103d
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class Validator(object):
|
|||
if warnings:
|
||||
for warning in self.warnings:
|
||||
print('WARNING: %s' % warning)
|
||||
ret.append(1)
|
||||
# ret.append(1) # Don't incrememt exit status for warnings
|
||||
|
||||
if self.errors or (warnings and self.warnings):
|
||||
print()
|
||||
|
|
Loading…
Reference in a new issue