summaryrefslogtreecommitdiff
path: root/internal/oauth/tokenstore.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oauth/tokenstore.go')
-rw-r--r--internal/oauth/tokenstore.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/oauth/tokenstore.go b/internal/oauth/tokenstore.go
index fa0390708..f81c3470b 100644
--- a/internal/oauth/tokenstore.go
+++ b/internal/oauth/tokenstore.go
@@ -53,12 +53,12 @@ func newTokenStore(ctx context.Context, db db.Basic) oauth2.TokenStore {
for {
select {
case <-ctx.Done():
- log.Info("breaking cleanloop")
+ log.Info(ctx, "breaking cleanloop")
break cleanloop
case <-time.After(1 * time.Minute):
- log.Trace("sweeping out old oauth entries broom broom")
+ log.Trace(ctx, "sweeping out old oauth entries broom broom")
if err := ts.sweep(ctx); err != nil {
- log.Errorf("error while sweeping oauth entries: %s", err)
+ log.Errorf(ctx, "error while sweeping oauth entries: %s", err)
}
}
}