File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
internal/ingress/controller Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -61,16 +61,7 @@ func (n *NGINXController) Check(_ *http.Request) error {
61
61
return errors .Wrapf (err , "checking for NGINX process with PID %v" , pid )
62
62
}
63
63
64
- statusCode , _ , err := nginx .NewGetStatusRequest (nginx .HealthPath )
65
- if err != nil {
66
- return errors .Wrapf (err , "checking if NGINX is running" )
67
- }
68
-
69
- if statusCode != 200 {
70
- return fmt .Errorf ("ingress controller is not healthy (%v)" , statusCode )
71
- }
72
-
73
- statusCode , _ , err = nginx .NewGetStatusRequest ("/is-dynamic-lb-initialized" )
64
+ statusCode , _ , err := nginx .NewGetStatusRequest ("/is-dynamic-lb-initialized" )
74
65
if err != nil {
75
66
return errors .Wrapf (err , "checking if the dynamic load balancer started" )
76
67
}
You can’t perform that action at this time.
0 commit comments