Skip to content

Commit 73d60bf

Browse files
Merge pull request #705 from slintes/fix-endless-loop
Fix endless loop
2 parents 4ac6a2e + 45c0801 commit 73d60bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func (a *AnnotationsFile) GetDefaultChannelName() string {
359359
// SelectDefaultChannel returns the first item in channel list that is sorted
360360
// in lexicographic order.
361361
func (a *AnnotationsFile) SelectDefaultChannel() string {
362-
return a.SelectDefaultChannel()
362+
return a.Annotations.SelectDefaultChannel()
363363
}
364364

365365
func (a Annotations) SelectDefaultChannel() string {

0 commit comments

Comments
 (0)