Skip to content

Commit

Permalink
fix ref issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Oct 31, 2022
1 parent 6f0c51a commit 120ff45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ binary:

unit-test:
go vet `go list ./... | grep -v '/vendor/'`
go test -count=1 -timeout 240s -cover ./logs/... \
go test -race -count=1 -timeout 240s -cover ./logs/... \
./manager/node/... \
./manager/workload/... \
./types/... \
Expand Down
2 changes: 1 addition & 1 deletion manager/workload/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func newLogBroadcaster() *logBroadcaster {
func (l *logBroadcaster) getSubscribers(app string) map[string]*subscriber {
subs, ok := l.subscribersMap.Get(app)
if !ok {
l.subscribersMap.Set(app, map[string]*subscriber{})
subs = map[string]*subscriber{}
l.subscribersMap.Set(app, subs)
}
return subs
}
Expand Down

0 comments on commit 120ff45

Please sign in to comment.