Skip to content
Prev Previous commit
Next Next commit
fixup! more debug logging
  • Loading branch information
coadler committed Jul 20, 2023
commit 14eb5a709f1de106eec32c2ec82af3a4fa64dee3
2 changes: 1 addition & 1 deletion agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func (a *agent) reportMetadataLoop(ctx context.Context) {
// a goroutine running for a given key. This is to prevent a build-up of
// goroutines waiting on Do when the script takes many multiples of
// baseInterval to run.
var flight = trySingleflight{m: map[string]struct{}{}}
flight := trySingleflight{m: map[string]struct{}{}}

for {
select {
Expand Down