Skip to content

added the condition for args [""] and no args[] #6104

added the condition for args [""] and no args[]

added the condition for args [""] and no args[] #6104

Triggered via pull request August 12, 2024 18:08
Status Failure
Total duration 9m 5s
Artifacts

build.yml

on: pull_request
Matrix: test
Matrix: build-additional-archs
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

16 errors
test (linux): pkg/client/inspect_image_test.go#L1078
ifElseChain: rewrite if-else to switch statement (gocritic)
test (linux): pkg/client/inspect_image.go#L195
unnecessary conversion (unconvert)
test (linux): pkg/client/inspect_image.go#L200
unnecessary conversion (unconvert)
test (linux)
Process completed with exit code 2.
test (macos): pkg/client/inspect_image_test.go#L1078
ifElseChain: rewrite if-else to switch statement (gocritic)
test (macos): pkg/client/inspect_image.go#L195
unnecessary conversion (unconvert)
test (macos): pkg/client/inspect_image.go#L200
unnecessary conversion (unconvert)
test (macos)
Process completed with exit code 2.
test (windows-lcow): pkg/client/inspect_image_test.go#L1078
ifElseChain: rewrite if-else to switch statement (gocritic)
test (windows-lcow): pkg/client/inspect_image.go#L195
unnecessary conversion (unconvert)
test (windows-lcow): pkg/client/inspect_image.go#L200
unnecessary conversion (unconvert)
test (windows-lcow)
Process completed with exit code 1.
test (windows-wcow): pkg/client/inspect_image_test.go#L1078
ifElseChain: rewrite if-else to switch statement (gocritic)
test (windows-wcow): pkg/client/inspect_image.go#L195
unnecessary conversion (unconvert)
test (windows-wcow): pkg/client/inspect_image.go#L200
unnecessary conversion (unconvert)
test (windows-wcow)
Process completed with exit code 1.