Skip to content

Commit 1fbfb48

Browse files
committed
fix: The clusterlink network module keeps refreshing the arp table
Signed-off-by: qiuming520 <[email protected]>
1 parent ddec8f0 commit 1fbfb48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/clusterlink/network-manager/network_manager.go

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ func ExcludeInvalidItems(clusters []v1alpha1.Cluster, clusterNodes []v1alpha1.Cl
2828
klog.Infof("the cluster %s's ClusterLinkOptions is empty, will exclude.", c.Name)
2929
continue
3030
}
31+
32+
if !c.Spec.ClusterLinkOptions.Enable {
33+
klog.Infof("the cluster %s's ClusterLinkOptions is enable, will exclude.", c.Name)
34+
continue
35+
}
36+
3137
clustersMap[c.Name] = c
3238
cs = append(cs, c)
3339
}

0 commit comments

Comments
 (0)