Skip to content

support cluster filter when use memory storage #1

support cluster filter when use memory storage

support cluster filter when use memory storage #1

Triggered via push February 4, 2024 12:37
Status Failure
Total duration 3m 20s
Artifacts

ci.yml

on: push
Vertify import alias, vendor, codegen, crds
1m 11s
Vertify import alias, vendor, codegen, crds
Lint with golangci-lint
3m 1s
Lint with golangci-lint
Unit test
0s
Unit test
E2e test
0s
E2e test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
Lint with golangci-lint: pkg/storage/memorystorage/memory_resource_storage.go#L21
could not import github.com/clusterpedia-io/clusterpedia/pkg/storage/memorystorage/watchcache (-: # github.com/clusterpedia-io/clusterpedia/pkg/storage/memorystorage/watchcache
Lint with golangci-lint: pkg/storage/memorystorage/watchcache/watch_cache.go#L17
"k8s.io/apimachinery/pkg/util/sets" imported and not used) (typecheck)
Lint with golangci-lint: pkg/storage/memorystorage/watchcache/cache_watcher.go#L1
: # github.com/clusterpedia-io/clusterpedia/pkg/storage/memorystorage/watchcache [github.com/clusterpedia-io/clusterpedia/pkg/storage/memorystorage/watchcache.test]
Lint with golangci-lint: pkg/storage/memorystorage/watchcache/watch_cache.go#L17
"k8s.io/apimachinery/pkg/util/sets" imported and not used (typecheck)
Lint with golangci-lint
issues found
Build: pkg/storage/memorystorage/watchcache/watch_cache.go#L17
sets redeclared in this block
Build: pkg/storage/memorystorage/watchcache/watch_cache.go#L9
other declaration of sets
Build: pkg/storage/memorystorage/watchcache/watch_cache.go#L17
"k8s.io/apimachinery/pkg/util/sets" imported and not used
Build
Process completed with exit code 2.
Vertify import alias, vendor, codegen, crds
Restore cache failed: Dependencies file is not found in /home/runner/work/clusterpedia/clusterpedia. Supported file pattern: go.sum
Lint with golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.