Skip to content

Commit e367ea8

Browse files
committed
fix lint
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent a180ea7 commit e367ea8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

token/services/identity/idemix/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type IdentityCache struct {
3838
metrics *Metrics
3939
// provisionCtx governs the lifetime of the background provisioning goroutine.
4040
// Created at construction time and cancelled by Close.
41-
provisionCtx context.Context
41+
provisionCtx context.Context //nolint:containedctx
4242
// cancel cancels provisionCtx. Written once, at construction time, so that Close
4343
// is safe to call concurrently with Identity.
4444
cancel context.CancelFunc

token/services/identity/role/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type RecipientDataCache struct {
3838

3939
// provisionCtx governs the lifetime of the background provisioning goroutine.
4040
// It is created at construction time and cancelled by Close.
41-
provisionCtx context.Context
41+
provisionCtx context.Context //nolint:containedctx
4242
// cancel cancels provisionCtx. It is written once, at construction time, so
4343
// that Close is safe to call concurrently with RecipientData.
4444
cancel context.CancelFunc

0 commit comments

Comments
 (0)