Removed wrong code
This commit is contained in:
parent
837d370ab2
commit
ecc20461aa
1 changed files with 0 additions and 4 deletions
|
@ -198,10 +198,6 @@ func (n *NGINXController) syncIngress(interface{}) error {
|
|||
// CheckIngress returns an error in case the provided ingress, when added
|
||||
// to the current configuration, generates an invalid configuration
|
||||
func (n *NGINXController) CheckIngress(ing *networking.Ingress) error {
|
||||
//TODO: this is wrong
|
||||
if n == nil {
|
||||
return fmt.Errorf("cannot check ingress on a nil ingress controller")
|
||||
}
|
||||
|
||||
if ing == nil {
|
||||
// no ingress to add, no state change
|
||||
|
|
Loading…
Reference in a new issue