Skip to content

Commit

Permalink
fix: Fixing ketchup to notify reconciliation loop
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Apr 27, 2021
1 parent 44f3216 commit cb2460f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (a app) getKetchupToNotify(ctx context.Context, releases []model.Release) (
for _, release := range releases {
for index < size {
current := ketchups[index]
if release.Repository.ID < current.Repository.ID || release.Pattern < current.Pattern {
if release.Repository.ID < current.Repository.ID || (release.Repository.ID == current.Repository.ID && release.Pattern < current.Pattern) {
break
}

Expand Down

0 comments on commit cb2460f

Please sign in to comment.