setup norm for Nebula #4
ci.yml
on: push
Vertify import alias, vendor, codegen, crds
1m 2s
Lint with golangci-lint
34s
Annotations
8 errors and 1 warning
Lint with golangci-lint:
pkg/storage/internalstorage/builder.go#L1
: # github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage [github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage.test]
|
Lint with golangci-lint:
pkg/storage/internalstorage/register.go#L113
cannot use normDialector (variable of type *"github.com/zhihu/norm/v3/dialectors".NebulaDialector) as "github.com/zhihu/norm/dialectors".IDialector value in argument to norm.MustOpen: *"github.com/zhihu/norm/v3/dialectors".NebulaDialector does not implement "github.com/zhihu/norm/dialectors".IDialector (wrong type for method Execute)
|
Lint with golangci-lint:
pkg/storage/internalstorage/register.go#L114
cannot use db (variable of type *"github.com/zhihu/norm/v3".DB) as *gorm.DB value in struct literal (typecheck)
|
Lint with golangci-lint:
pkg/storage/options/options.go#L9
could not import github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage (-: # github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage
|
Lint with golangci-lint:
pkg/storage/internalstorage/register.go#L113
cannot use normDialector (variable of type *"github.com/zhihu/norm/v3/dialectors".NebulaDialector) as "github.com/zhihu/norm/dialectors".IDialector value in argument to norm.MustOpen: *"github.com/zhihu/norm/v3/dialectors".NebulaDialector does not implement "github.com/zhihu/norm/dialectors".IDialector (wrong type for method Execute)
|
Lint with golangci-lint:
pkg/storage/internalstorage/register.go#L114
cannot use db (variable of type *"github.com/zhihu/norm/v3".DB) as *gorm.DB value in struct literal) (typecheck)
|
Lint with golangci-lint
issues found
|
Vertify import alias, vendor, codegen, crds
Process completed with exit code 1.
|
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
|