Fix swa component host hit (#25085)
This commit is contained in:
@@ -95,7 +95,7 @@ class SWAComponent(TreeComponent):
|
|||||||
) -> MatchResult:
|
) -> MatchResult:
|
||||||
ct = self.component_type
|
ct = self.component_type
|
||||||
n_swa = 0
|
n_swa = 0
|
||||||
node = result.last_device_node
|
node = result.last_host_node
|
||||||
root = self.cache.root_node
|
root = self.cache.root_node
|
||||||
while node is not root and n_swa < self.sliding_window_size:
|
while node is not root and n_swa < self.sliding_window_size:
|
||||||
cd = node.component_data[ct]
|
cd = node.component_data[ct]
|
||||||
|
|||||||
Reference in New Issue
Block a user