From adb10d2b9665bdb4f73e552fb037d54e0644b7c5 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Wed, 20 Dec 2023 14:35:40 +0100 Subject: [PATCH] anaconda: break, not fallthrough --- pkg/manifest/anaconda_installer_iso_tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/manifest/anaconda_installer_iso_tree.go b/pkg/manifest/anaconda_installer_iso_tree.go index 0cb8481b44..b7b5fd9f29 100644 --- a/pkg/manifest/anaconda_installer_iso_tree.go +++ b/pkg/manifest/anaconda_installer_iso_tree.go @@ -161,7 +161,7 @@ func (p *AnacondaInstallerISOTree) serializeStart(_ []rpmmd.PackageSpec, contain func (p *AnacondaInstallerISOTree) serializeEnd() { switch { case p.OSPipeline != nil: - fallthrough + break case p.commitSpec == nil && p.containerSpec == nil: panic("serializeEnd() call when serialization not in progress") case p.commitSpec != nil && p.containerSpec != nil: