[#290] Update restore traffic method
Some checks failed
DCO action / DCO (pull_request) Has been cancelled

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2024-09-11 10:42:51 +03:00
parent 36bfe385d5
commit 4a2ac8a9b6

View file

@ -325,6 +325,8 @@ class ClusterStateController:
node: ClusterNode, node: ClusterNode,
) -> None: ) -> None:
IpHelper.restore_input_traffic_to_node(node=node) IpHelper.restore_input_traffic_to_node(node=node)
index = self.dropped_traffic.index(node)
self.dropped_traffic.pop(index)
@reporter.step("Restore blocked nodes") @reporter.step("Restore blocked nodes")
def restore_all_traffic(self): def restore_all_traffic(self):