🧹 Remove the vendor dir #2861
Annotations
8 errors and 1 warning
Go Lint:
pkg/kn/commands/trigger/trigger_test.go#L97
func `createTriggerWithInject` is unused (unused)
|
Go Lint:
lib/test/broker.go#L62
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
Go Lint:
pkg/kn/commands/service/describe.go#L330
SA1019: sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() (staticcheck)
|
Go Lint:
pkg/kn/commands/service/describe.go#L349
SA1019: sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() (staticcheck)
|
Go Lint:
pkg/kn/flags/podspec_helper.go#L24
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
Go Lint
issues found
|
EOF newline:
hack/verify-codegen.sh#L35
[EOF Newline] reported by reviewdog 🐶
Missing newline
Raw Output:
hack/verify-codegen.sh:35: Missing newline
|
EOF newline
Process completed with exit code 1.
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/client/client. Supported file pattern: go.sum
|
Loading