Skip to content

Commit 477df8f

Browse files
committed
Add clarifying comment
1 parent 9706dcc commit 477df8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ocp_resources/node_network_configuration_policy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ def _absent_interface(self):
323323
if self.ports:
324324
self.add_ports()
325325

326+
# The time-stamp that is returned by _get_last_successful_transition_time() will chnage after the call to
327+
# update(), therefore it must be fetched and stored before, and comapred with the new time-stamp after.
326328
initial_success_status_time = self._get_last_successful_transition_time()
327329
ResourceEditor(
328330
patches={self: {"spec": {"desiredState": {"interfaces": self.desired_state["interfaces"]}}}}

0 commit comments

Comments
 (0)