diff --git a/app/multitenant/billing_emitter.go b/app/multitenant/billing_emitter.go index 8b2a1fb08d..8c7ac16929 100644 --- a/app/multitenant/billing_emitter.go +++ b/app/multitenant/billing_emitter.go @@ -123,8 +123,7 @@ func hasWeaveNet(r report.Report) bool { hasNet := false for _, n := range r.Overlay.Nodes { overlayType, _ := report.ParseOverlayNodeID(n.ID) - if overlayType == report.WeaveOverlayPeerPrefix { - hasNet = true + if hasNet = (overlayType == report.WeaveOverlayPeerPrefix); hasNet { break } }