Skip to content

Commit

Permalink
Merge branch version/0-47-0-RC1 to adopt changes from PR #3504
Browse files Browse the repository at this point in the history
  • Loading branch information
as-builds committed Sep 24, 2024
2 parents 8a6d1de + 2deb608 commit 2f0e644
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/buildplan/artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,7 @@ func (a Artifacts) ToIDSlice() []strfmt.UUID {
func (a Artifacts) ToNameMap() ArtifactNameMap {
result := make(map[string]*Artifact, len(a))
for _, a := range a {
name := a.DisplayName
if len(a.Ingredients) == 0 {
name = a.Ingredients[0].Name
}
result[name] = a
result[a.Name()] = a
}
return result
}
Expand Down

0 comments on commit 2f0e644

Please sign in to comment.