fix: NewIngressHostnameCollision is returning pointer for error parsing

This commit is contained in:
Dario Tranchitella
2021-08-12 19:30:27 +02:00
parent 06330cf992
commit a2fda44110
+1 -1
View File
@@ -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 {