Skip to content

Commit

Permalink
Fix error message in internal/controller/controller.go (#400)
Browse files Browse the repository at this point in the history
* exists->exist
  • Loading branch information
aaaaaaaalex authored and Dean-Coakley committed Oct 19, 2018
1 parent c1d2ca6 commit 8fe1653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ func (lbc *LoadBalancerController) getServiceForIngressBackend(backend *extensio
return svcObj.(*api_v1.Service), nil
}

return nil, fmt.Errorf("service %s doesn't exists", svcKey)
return nil, fmt.Errorf("service %s doesn't exist", svcKey)
}

// IsNginxIngress checks if resource ingress class annotation (if exists) is matching with ingress controller class
Expand Down

0 comments on commit 8fe1653

Please sign in to comment.