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

ctlv3: cherry pick of #9540 to release 3.3 #10782

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented Jun 4, 2019

cc @gyuho

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
for _, cfg := range cfgs {
wg.Add(1)
go func(cfg *v3.Config) {
defer wg.Done()
ep := cfg.Endpoints[0]
cli, err := v3.New(*cfg)
if err != nil {
errc <- fmt.Errorf("%s is unhealthy: failed to connect: %v", ep, err)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The output message when this error happens is going to be different due to this change.
@gyuho

Copy link
Contributor

Choose a reason for hiding this comment

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

We can highlight this in CHANGELOG-3.3. Could you create another PR for this? Thanks!

@jingyih
Copy link
Contributor Author

jingyih commented Jun 4, 2019

This backport introduces changes in output message when fails to connect to an endpoint.

@gyuho gyuho merged commit 8942970 into etcd-io:release-3.3 Jun 4, 2019
@jingyih jingyih deleted the cherrypick_9540_to_release3p3 branch June 5, 2019 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants