Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1869

Shim: Update depguard config

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              yangpoan PoAn Yang
              yangpoan PoAn Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: