Update golangci-lint #11
Annotations
14 errors
lint (hack/tools)
golangci-lint exit with code 5
|
lint (test):
test/e2e/aks_byo_node.go#L172
G115: integer overflow conversion int -> int32 (gosec)
|
lint (test):
test/e2e/azure_logcollector.go#L510
"200" can be replaced by http.StatusOK (usestdlibvars)
|
lint (test)
issues found
|
lint:
internal/test/record/logger.go#L186
emptyStringTest: replace `len(l.prefix) > 0` with `l.prefix != ""` (gocritic)
|
lint:
api/v1beta1/azurecluster_validation.go#L511
emptyStringTest: replace `len(privateDNSZoneName) > 0` with `privateDNSZoneName != ""` (gocritic)
|
lint:
azure/converters/resourcehealth.go#L47
emptyStringTest: replace `len(word) > 0` with `word != ""` (gocritic)
|
lint:
azure/scope/cluster.go#L723
emptyStringTest: replace `len(s.AzureCluster.Spec.NetworkSpec.PrivateDNSZoneName) > 0` with `s.AzureCluster.Spec.NetworkSpec.PrivateDNSZoneName != ""` (gocritic)
|
lint:
api/v1beta1/azuremachine_default.go#L71
G115: integer overflow conversion int -> int32 (gosec)
|
lint:
azure/services/inboundnatrules/spec_test.go#L173
G115: integer overflow conversion int -> int32 (gosec)
|
lint:
azure/services/availabilitysets/spec.go#L79
G115: integer overflow conversion int64 -> int32 (gosec)
|
lint:
azure/services/availabilitysets/spec_test.go#L72
G115: integer overflow conversion int -> int32 (gosec)
|
lint:
azure/scope/machinepool.go#L971
G115: integer overflow conversion int64 -> int32 (gosec)
|
lint:
azure/scope/managedmachinepool.go#L331
G115: integer overflow conversion int -> int32 (gosec)
|