Skip to content

Commit

Permalink
anaconda: break, not fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
supakeen committed Dec 20, 2023
1 parent cb57140 commit 2df90fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manifest/anaconda_installer_iso_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2df90fe

Please sign in to comment.