Skip to content

Commit d2f0d0e

Browse files
authored
update TimeoutSampler call using self.status (#523)
1 parent de52889 commit d2f0d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocp_resources/node_network_configuration_policy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def wait_for_status_success(self):
393393
self.wait_for_configuration_conditions_unknown_or_progressing()
394394

395395
samples = TimeoutSampler(
396-
wait_timeout=self.success_timeout, sleep=1, func=self.status
396+
wait_timeout=self.success_timeout, sleep=1, func=lambda: self.status
397397
)
398398
try:
399399
for sample in samples:

0 commit comments

Comments
 (0)