Remove unnecessary condition in if statements #1290
lint-and-test.yml
on: pull_request
golangci-lint on amd64
1m 54s
integration test kafka
1m 59s
integration test redpanda
1m 26s
Annotations
10 errors and 1 warning
golangci-lint on amd64:
generate/main.go#L213
G115: integer overflow conversion int64 -> int8 (gosec)
|
golangci-lint on amd64:
generate/main.go#L225
G115: integer overflow conversion int64 -> int16 (gosec)
|
golangci-lint on amd64:
generate/main.go#L237
G115: integer overflow conversion uint64 -> uint16 (gosec)
|
golangci-lint on amd64:
generate/main.go#L249
G115: integer overflow conversion int64 -> int32 (gosec)
|
golangci-lint on amd64:
generate/main.go#L290
G115: integer overflow conversion uint64 -> uint32 (gosec)
|
golangci-lint on amd64:
generate/main.go#L302
G115: integer overflow conversion int64 -> int32 (gosec)
|
golangci-lint on amd64:
pkg/kgo/internal/sticky/graph.go#L52
G115: integer overflow conversion int -> uint32 (gosec)
|
golangci-lint on amd64:
pkg/kgo/internal/sticky/graph.go#L183
G115: integer overflow conversion int -> int32 (gosec)
|
golangci-lint on amd64:
pkg/kgo/internal/sticky/sticky.go#L84
G115: integer overflow conversion int -> uint32 (gosec)
|
golangci-lint on amd64:
pkg/kgo/internal/sticky/sticky.go#L87
G115: integer overflow conversion int -> int32 (gosec)
|
golangci-lint on amd64
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|