You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so the contextcheck fails on the code that uses those functions:
aws/awsCaller.go:34:53: Function `GetCallerIdentityWithContext` should pass the context parameter (contextcheck)
callerId, err = awsSTS.GetCallerIdentityWithContext(ctx, &sts.GetCallerIdentityInput{})
Hi, we do use a lot the aws-sdk-go lib and all their functions use an alias of context: https://github.com/aws/aws-sdk-go/blob/main/aws/context_1_9.go#L12
so the contextcheck fails on the code that uses those functions:
when
Could you please add a check is the first parameter is an alias of the
context.Context
, like it is done in aws-sdk-goThe text was updated successfully, but these errors were encountered: