Skip to content

Commit

Permalink
fix(generate-registry): fix a bug that same version_overrides aren't …
Browse files Browse the repository at this point in the history
…merged properly (#2654)
  • Loading branch information
suzuki-shunsuke authored Feb 1, 2024
1 parent 251690f commit ff9d1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/generate-registry/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (c *Controller) group(logE *logrus.Entry, pkgName string, releases []*Relea
newGroups := make([]*Group, 1, len(groups))
newGroups[0] = prevGroup
for _, group := range groups[1:] {
if reflect.DeepEqual(group.pkg, prevGroup.pkg) {
if reflect.DeepEqual(group.pkg.Info, prevGroup.pkg.Info) {
prevGroup.releases = append(prevGroup.releases, group.releases...)
continue
}
Expand Down

0 comments on commit ff9d1d2

Please sign in to comment.