Skip to content

Commit

Permalink
Update services/components/registry/registry.go
Browse files Browse the repository at this point in the history
Co-authored-by: Caner Çıdam <[email protected]>
  • Loading branch information
dkeysil and canercidam authored Feb 9, 2024
1 parent ca74353 commit 7145720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/components/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func (br *botRegistry) LoadAssignedBots() ([]config.AgentConfig, error) {
br.lastChangeDetected.Set()

br.mu.Lock()
defer br.mu.Unlock()
br.botConfigs = agts
br.mu.Unlock()

logger.WithField("count", len(agts)).Info("updated bot list")
} else {
Expand Down

0 comments on commit 7145720

Please sign in to comment.