Skip to content

Commit

Permalink
Use join
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatskaari committed Nov 27, 2023
1 parent 4880028 commit 8bb8964
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/build_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@ func (label BuildLabel) SubrepoLabel(state *BuildState) BuildLabel {
}

// Otherwise we need to set it to match our architecture
if t.Subrepo == "" {
t.Subrepo = arch
} else {
t.Subrepo = fmt.Sprintf("%v@%v", t.Subrepo, arch)
}
t.Subrepo = JoinSubrepoArch(t.Subrepo, arch)
return t
}

Expand Down

0 comments on commit 8bb8964

Please sign in to comment.