build(deps): update golang docker tag to v1.21.6 #1015
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (40)
pkg/eventhandler/eventhandlers_test.go|138 col 12| Error return value of ce.DataAs
is not checked (errcheck)
pkg/eventhandler/eventhandlers_test.go|197 col 12| Error return value of ce.DataAs
is not checked (errcheck)
pkg/eventhandler/eventhandlers.go|261 col 6| func sendTaskFailedEvent
is unused (unused)
pkg/eventhandler/eventhandlers.go|283 col 6| func sendJobFailedEvent
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|69 col 6| func initializeTestObjects
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|143 col 6| type matcherErrorIs
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|147 col 28| func (*matcherErrorIs).Matches
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|157 col 28| func (*matcherErrorIs).String
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|290 col 6| type nameMatcher
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|294 col 24| func (*nameMatcher).Matches
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|304 col 24| func (*nameMatcher).String
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|684 col 6| type disallowAllImagesFilter
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|688 col 34| func disallowAllImagesFilter.IsImageAllowed
is unused (unused)
pkg/eventhandler/eventhandlers_test.go|755 col 6| func checkFinishedEventImageNotAllowed
is unused (unused)
pkg/eventhandler/eventmapper_test.go|39 col 15| S1040: type assertion to the same type: data already has type interface{} (gosimple)
pkg/eventhandler/eventhandlers.go|232 col 5| ineffectual assignment to logs (ineffassign)
test/e2e/envvar_test.go|31 col 23| Error return value of testEnv.Cleanup
is not checked (errcheck)
test/e2e/files_test.go|32 col 23| Error return value of testEnv.Cleanup
is not checked (errcheck)
test/e2e/files_test.go|128 col 23| Error return value of testEnv.Cleanup
is not checked (errcheck)
test/e2e/taskdeadline_test.go|44 col 15| Error return value is not checked (errcheck)
test/e2e/taskdeadline_test.go|48 col 16| Error return value is not checked (errcheck)
test/e2e/taskdeadline_test.go|156 col 44| Error return value of (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Delete
is not checked (errcheck)
test/e2e/keptn.go|14 col 7| const authHeaderName
is unused (unused)
test/e2e/files_test.go|76 col 14| ineffectual assignment to err (ineffassign)
test/e2e/files_test.go|172 col 14| ineffectual assignment to err (ineffassign)
test/e2e/jobnetpolicy_test.go|22 col 11| ineffectual assignment to err (ineffassign)
pkg/k8sutils/job_test.go|77 col 16| Error return value of json.Unmarshal
is not checked (errcheck)
pkg/k8sutils/job_test.go|127 col 16| Error return value of json.Unmarshal
is not checked (errcheck)
pkg/k8sutils/job_test.go|196 col 16| Error return value of json.Unmarshal
is not checked (errcheck)
pkg/k8sutils/job_test.go|231 col 54| Error return value of (k8s.io/client-go/kubernetes/typed/core/v1.SecretInterface).Create
is not checked (errcheck)
pkg/k8sutils/job_test.go|693 col 47| Error return value of (k8s.io/client-go/kubernetes/typed/batch/v1.JobInterface).Create
is not checked (errcheck)
pkg/k8sutils/job_test.go|726 col 47| Error return value of (k8s.io/client-go/kubernetes/typed/batch/v1.JobInterface).Create
is not checked (errcheck)
pkg/k8sutils/job_test.go|759 col 47| Error return value of (k8s.io/client-go/kubernetes/typed/batch/v1.JobInterface).Create
is not checked (errcheck)
pkg/k8sutils/job_test.go|1046 col 49| Error return value of (k8s.io/client-go/kubernetes/typed/batch/v1.JobInterface).Update
is not checked (errcheck)
pkg/k8sutils/pod_test.go|109 col 46| Error return value of (k8s.io/client-go/kubernetes/typed/core/v1.PodInterface).Create
is not checked (errcheck)
pkg/k8sutils/job.go|628 col 11| S1007: should use raw string (...
) with regexp.MustCompile to avoid having to escape twice (gosimple)
pkg/k8sutils/job_test.go|1036 col 3| S1000: should use a simple channel send/receive instead of select
with a single case (gosimple)
pkg/keptn/errorlog.go|15 col 7| const errorType
is unused (unused)
pkg/utils/labels.go|26 col 5| S1009: should omit nil check; len() for k8s.io/apimachinery/pkg/util/validation/field.ErrorList is defined as zero (gosimple)
cmd/job-executor-service/main.go|191 col 2| ineffectual assignment to ctx (ineffassign)