From 2742a11eb74355740ff644c474cc128d05deaee3 Mon Sep 17 00:00:00 2001 From: albertteoh Date: Wed, 3 Nov 2021 01:03:17 +1100 Subject: [PATCH] Fix staticcheck err Signed-off-by: albertteoh --- pkg/bearertoken/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bearertoken/context.go b/pkg/bearertoken/context.go index 9e9a7fe8c3a..4f9221fe631 100644 --- a/pkg/bearertoken/context.go +++ b/pkg/bearertoken/context.go @@ -18,7 +18,7 @@ import "context" type contextKeyType int -const contextKey = iota +const contextKey = contextKeyType(iota) // StoragePropagationKey is a key for viper configuration to pass this option to storage plugins. const StoragePropagationKey = "storage.propagate.token"