Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add error check right when reload nginx fail #898

Closed
stormltf opened this issue Jun 23, 2017 · 0 comments · Fixed by #899
Closed

add error check right when reload nginx fail #898

stormltf opened this issue Jun 23, 2017 · 0 comments · Fixed by #899

Comments

@stormltf
Copy link

https://github.com/kubernetes/ingress/blob/master/controllers/nginx/pkg/cmd/controller/nginx.go

539 o, e := exec.Command(n.binary, "-s", "reload", "-c", cfgPath).CombinedOutput()
540 if e != nil {
541 return fmt.Errorf("%v\n%v", e, string(o))
542 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant