Skip to content

Commit

Permalink
Code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Cobden committed May 8, 2017
1 parent afa4a40 commit 5d18238
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/multitenant/billing_emitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 5d18238

Please sign in to comment.