Skip to content

Commit

Permalink
fix: NewIngressHostnameCollision is returning pointer for error parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
prometherion committed Aug 12, 2021
1 parent 06330cf commit a2fda44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/ingress/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (i ingressHostnameCollision) Error() string {
}

func NewIngressHostnameCollision(hostname string) error {
return ingressHostnameCollision{hostname: hostname}
return &ingressHostnameCollision{hostname: hostname}
}

func NewIngressHostnamesNotValid(invalidHostnames []string, notMatchingHostnames []string, spec capsulev1beta1.AllowedListSpec) error {
Expand Down

0 comments on commit a2fda44

Please sign in to comment.