We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de18137 commit 746bf67Copy full SHA for 746bf67
internal/state/relationship/capturer.go
@@ -48,6 +48,10 @@ type (
48
namespaces map[types.NamespacedName]namespaceCfg
49
)
50
51
+func (n namespaceCfg) match() bool {
52
+ return len(n.gateways) > 0
53
+}
54
+
55
// CapturerImpl implements the Capturer interface.
56
type CapturerImpl struct {
57
routesToServices routeToServicesMap
@@ -245,7 +249,3 @@ func (c *CapturerImpl) removeGatewayLabelSelector(gatewayName types.NamespacedNa
245
249
c.namespaces[ns] = cfg
246
250
}
247
251
248
-
-func (n namespaceCfg) match() bool {
- return len(n.gateways) > 0
-}
0 commit comments