Skip to content

Commit

Permalink
patch: add missing log field satClientID
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Aug 9, 2023
1 parent 4e8a980 commit fc53c6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions basculehttp/log.go
Expand Up @@ -125,10 +125,7 @@ func SetBasculeInfo() alice.Constructor {
satClientID = auth.Token.Principal()
}

logger.With(zap.String("satClientID", satClientID))

r = r.WithContext(sallust.With(ctx, logger))

r = r.WithContext(sallust.With(ctx, logger.With(zap.String("satClientID", satClientID))))

Check warning on line 128 in basculehttp/log.go

View check run for this annotation

Codecov / codecov/patch

basculehttp/log.go#L128

Added line #L128 was not covered by tests
delegate.ServeHTTP(w, r)
})
}
Expand Down

0 comments on commit fc53c6c

Please sign in to comment.