Skip to content

Conversion webhook #1684

Conversion webhook

Conversion webhook #1684

Triggered via pull request August 14, 2023 12:55
Status Failure
Total duration 31s
Artifacts

verify.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Verify: go/src/github.com/shipwright-io/build/pkg/apis/build/v1alpha1/clusterbuildstrategy_conversion.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/apis/build/v1alpha1/clusterbuildstrategy_conversion.go#L22
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/apis/build/v1alpha1/buildstrategy_conversion.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Verify: go/src/github.com/shipwright-io/build/cmd/shipwright-build-webhook/main.go#L107
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/conversion.go#L130
`enconding` is a misspelling of `encoding` (misspell)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/converter.go#L30
context-as-argument: context.Context should be the first parameter of a function (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/conversion.go#L63
context-as-argument: context.Context should be the first parameter of a function (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/conversion.go#L69
context-as-argument: context.Context should be the first parameter of a function (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/converter.go#L19
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
Verify: go/src/github.com/shipwright-io/build/pkg/webhook/conversion/converter.go#L20
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)