Skip to content

Commit

Permalink
fix: return error when no frontend is found
Browse files Browse the repository at this point in the history
  • Loading branch information
danimo committed Jul 8, 2024
1 parent 23fb9f4 commit 7cf7298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,5 @@ func getFrontendByName(
if len(frontends) > 0 {
return frontends[0], nil
}
return nil, nil
return nil, errors.New("no frontend found")
}

0 comments on commit 7cf7298

Please sign in to comment.