Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
We update golangci-lint from v1.51.2 to v1.53.3. In this update, upstream migrated depguard to v2, and changed the default configuration. We also need to update it, or ./tools/golangci-lint run will show depguard errors like:
import 'github.com/apache/yunikorn-k8shim/pkg/cache/external' is not allowed from list 'Main' (depguard)
Upstream reference: https://github.com/golangci/golangci-lint/commit/fb746c4b04c3a2f2f55400d22d40192b7e659b3b
Attachments
Issue Links
- is related to
-
YUNIKORN-1862 Shim: Use privately installed build tools
- Closed
- links to