mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-20 04:56:44 +00:00
fix: NewIngressHostnameCollision is returning pointer for error parsing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user