[
https://issues.apache.org/jira/browse/YUNIKORN-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PoAn Yang resolved YUNIKORN-1870.
---------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> Core: Update depguard config
> ----------------------------
>
> Key: YUNIKORN-1870
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1870
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common
> Reporter: PoAn Yang
> Assignee: PoAn Yang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> 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:
> {code:java}
> import 'github.com/apache/yunikorn-core/pkg/common/resources' is not allowed
> from list 'Main' {code}
>
> Upstream reference:
> [https://github.com/golangci/golangci-lint/commit/fb746c4b04c3a2f2f55400d22d40192b7e659b3b]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]