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

Monitor endpoint changes as well. #1

Merged
merged 9 commits into from
Jun 22, 2016
Merged

Conversation

AbkDj
Copy link

@AbkDj AbkDj commented Jun 14, 2016

Initial Pull request. Added changes to monitor ingress and endpoints and configure NS. Also added python script to perform NS VXLAN configuration and ETCD NS MAC address configuration.

if err != nil {
log.Fatal(err)
return []byte{}, err
} else {
defer resp.Body.Close()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you move it here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case of an error "resp" is NULL and using it in the next line causes the controller to crash. The defer is added if there is no error. Otherwise we return.

@chiradeep chiradeep changed the title Initial Pull Monitor endpoint changes as well. Jun 22, 2016
@chiradeep chiradeep merged commit 234c53d into chiradeep:master Jun 22, 2016
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 this pull request may close these issues.

2 participants