Skip to content

Commit a86f7bd

Browse files
committed
fixed reference to unreachable stats.
1 parent 2837247 commit a86f7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/plugins/callback/idempotence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def playbook_on_stats(self, stats):
1616

1717
if (u'%s' % VAR_IDEMPOTENCE) in self.playbook.extra_vars.keys() and self.playbook.extra_vars[VAR_IDEMPOTENCE]:
1818

19-
if len(stats.unreachable) > 0:
19+
if len(stats.dark) > 0:
2020
print ('idempotence test failed! unreachable=%s > 0') % stats.dark
2121
sys.exit(os.EX_SOFTWARE)
2222

0 commit comments

Comments
 (0)