Skip to content

Commit

Permalink
panic when DefaultAuthorinoImage is empty
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki committed Nov 14, 2024
1 parent 1cb9ca3 commit f0150c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/authorino_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (r *AuthorinoReconciler) buildAuthorinoDeployment(authorino *api.Authorino)

if image == "" {
// `DefaultAuthorinoImage can be empty string. But image cannot be or deployment will fail
image = "quay.io/kuadrant/authorino:latest"
panic("DefaultAuthorinoImage is empty")
}

var volumes []k8score.Volume
Expand Down

0 comments on commit f0150c1

Please sign in to comment.