Skip to content

Commit 45c0801

Browse files
committed
Fix endless loop
Signed-off-by: Marc Sluiter <[email protected]>
1 parent 4ac6a2e commit 45c0801

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)