Update knative deps #9056
Annotations
10 errors and 1 warning
Go Lint:
test/rekt/resources/kafkasource/kafkasource.go#L67
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:
control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_lifecycle_test.go#L23
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:
control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_types_test.go#L23
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:
control-plane/pkg/apis/eventing/v1alpha1/kafka_sink_validation_test.go#L23
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:
test/rekt/resources/configmap/wait.go#L42
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:
test/rekt/features/featuressteps/broker.go#L127
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:
control-plane/pkg/apis/internalskafkaeventing/v1alpha1/consumer_group_defaults.go#L41
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
Go Lint:
control-plane/pkg/prober/cache_test.go#L88
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
Go Lint:
control-plane/pkg/kafka/consumer_group_lag.go#L200
G115: integer overflow conversion int64 -> uint64 (gosec)
|
Go Lint:
control-plane/pkg/kafka/topic.go#L111
G115: integer overflow conversion int32 -> int16 (gosec)
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/eventing-kafka-broker/eventing-kafka-broker. Supported file pattern: go.sum
|
Loading