Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Etcd #4

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Etcd #4

wants to merge 29 commits into from

Conversation

savorywatt
Copy link

I still need to run a cluster test using this on my beefier machine but you can start reviewing the code changes, I've done a lot of testing (using the shell scripts in coordinate) that the registration and cluster startup works, just not full tests yet. Real cluster test some time this week now that I think the code has settled (waiting for a long running backup on my beefier machine to finish before I can test this out).

@tylertreat


resp, err := c.client.Get(rootDir+c.flota, false, false)
if err != nil {
return nil
Copy link
Owner

Choose a reason for hiding this comment

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

Don't you want to return the error here?

Copy link
Author

Choose a reason for hiding this comment

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

perhaps, but where is the fun in that?

c.Close()
resp, err := c.client.Delete(rootDir+c.flota, false)
if resp == nil || err != nil {
panic(ErrorUnableToStopCluster)
Copy link
Owner

Choose a reason for hiding this comment

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

Again, not sure if we really want to panic.

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

Successfully merging this pull request may close these issues.

2 participants