Skip to content

Commit

Permalink
Remove outdated comment in spanlogger.go (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitarvdimitrov authored Apr 29, 2022
1 parent 25baa36 commit 8f57b58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spanlogger/spanlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ func (s *SpanLogger) Error(err error) error {
}

func withContext(ctx context.Context, logger log.Logger, resolver TenantResolver) log.Logger {
// Weaveworks uses "orgs" and "orgID" to represent Cortex users,
// even though the code-base generally uses `userID` to refer to the same thing.
userID, err := resolver.TenantID(ctx)
if err == nil && userID != "" {
logger = log.With(logger, "user", userID)
Expand Down

0 comments on commit 8f57b58

Please sign in to comment.