mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-04 06:27:25 +00:00
shellcheck: Fix shellcheck SC2104
> In functions, use return instead of break. > rationale: break or continue are used to abort or continue a loop, and are not the right way to exit a function. Use return instead. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
67bfd4793e
commit
eb90b93e3f
@ -665,7 +665,7 @@ function main() {
|
|||||||
if [[ "${KATA_HYPERVISOR}" == "qemu-runtime-rs" ]]; then
|
if [[ "${KATA_HYPERVISOR}" == "qemu-runtime-rs" ]]; then
|
||||||
info "TestKilledVmmCleanup and TestDeviceCgroup skipped for qemu with runtime-rs"
|
info "TestKilledVmmCleanup and TestDeviceCgroup skipped for qemu with runtime-rs"
|
||||||
info "Please check out https://github.com/kata-containers/kata-containers/issues/9375"
|
info "Please check out https://github.com/kata-containers/kata-containers/issues/9375"
|
||||||
break
|
return
|
||||||
else
|
else
|
||||||
TestKilledVmmCleanup
|
TestKilledVmmCleanup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user