Skip to content

parameters + tidy #1345

parameters + tidy

parameters + tidy #1345

GitHub Actions / golangci failed Nov 20, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (2)

cmd/vela-kaniko/main.go|410 col 4| ineffectual assignment to customLabels (ineffassign)
cmd/vela-kaniko/main.go|415 col 20| SA4010: this result of append is never used, except maybe in other appends (staticcheck)

Filtered Findings (0)

Annotations

Check failure on line 410 in cmd/vela-kaniko/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-kaniko/main.go#L410

ineffectual assignment to customLabels (ineffassign)
Raw output
cmd/vela-kaniko/main.go:410:4: ineffectual assignment to customLabels (ineffassign)
			customLabels = strings.Split(labelsStr, ",")
			^

Check failure on line 415 in cmd/vela-kaniko/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-kaniko/main.go#L415

SA4010: this result of append is never used, except maybe in other appends (staticcheck)
Raw output
cmd/vela-kaniko/main.go:415:20: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
				customLabels = append(customLabels, fmt.Sprintf("%s=%s", key, value))
				               ^