Skip to content

Commit

Permalink
Merge pull request #1830 from aaronlehmann/lint-fix
Browse files Browse the repository at this point in the history
Lint fix for logbroker
  • Loading branch information
aaronlehmann authored Dec 22, 2016
2 parents e3a9b62 + b8b6e9e commit f245c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/logbroker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (lb *LogBroker) watchSubscriptions(nodeID string) ([]*subscription, chan ev
}))

// Grab current subscriptions.
subscriptions := make([]*subscription, 0)
var subscriptions []*subscription
for _, s := range lb.registeredSubscriptions {
if s.Contains(nodeID) {
subscriptions = append(subscriptions, s)
Expand Down

0 comments on commit f245c9b

Please sign in to comment.