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
Just building the image from Dockerfile from the latest imaginary repo, and will get:
Step 15/28 : RUN golangci-lint run .
---> Running in 5b2009661372
middleware.go:75:22: SA1019: throttled.NewGCRARateLimiter is deprecated: Use NewGCRARateLimiterCtx instead. If the used store does not implement GCRAStoreCtx, wrap it with WrapStoreWithContext(). (staticcheck)
rateLimiter, err := throttled.NewGCRARateLimiter(store, quota)
^
middleware.go:80:21: SA1019: throttled.HTTPRateLimiter is deprecated: Use HTTPRateLimiterCtx instead. If the used RateLimiter does not implement RateLimiterCtx, wrap it with WrapRateLimiterWithContext(). (staticcheck)
httpRateLimiter := throttled.HTTPRateLimiter{
^
middleware.go:85:9: SA1019: httpRateLimiter.RateLimit is deprecated: Use HTTPRateLimiterCtx instead (staticcheck)
return httpRateLimiter.RateLimit(next)
^
The command '/bin/sh -c golangci-lint run .' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered:
Just building the image from Dockerfile from the latest imaginary repo, and will get:
The text was updated successfully, but these errors were encountered: