Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

bugfix: fix missing error message 'Unable to autodetect advertiser ip… #1429

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

zhaxzhax
Copy link
Contributor

…, please set it via --advertise-ip'

related to #1428

Ⅰ. Describe what this PR did

This PR have fixed the missing error message bug in #1428.

Ⅱ. Does this pull request fix one issue?

Fixes #1428.

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

There is already a root_test file, and the test need under the condition when the container only shows the loopback address.

Ⅳ. Describe how to verify it

Just return error when only can get the loopback address instead of writing debug information into the logs.

Ⅴ. Special notes for reviews

None.

@pouchrobot pouchrobot added kind/bug This is bug report for project size/XS labels Jul 14, 2020
@pouchrobot
Copy link
Collaborator

We found this is your first time to contribute to Dragonfly, @zhaxzhax
👏 We really appreciate it.
Just remind that you have read the contribution guide: https://github.com/dragonflyoss/Dragonfly/blob/master/CONTRIBUTING.md
If you didn't, you should do that first. If done, welcome again and please enjoy hacking! 🍻

…, please set it via --advertise-ip'

related to dragonflyoss#1428

Signed-off-by: zhaxzhax <[email protected]>
Copy link
Member

@lowzj lowzj left a comment

Choose a reason for hiding this comment

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

LGTM

@lowzj lowzj self-requested a review July 15, 2020 05:34
@lowzj lowzj merged commit a015475 into dragonflyoss:master Jul 16, 2020
lowzj added a commit to lowzj/Dragonfly that referenced this pull request Jul 16, 2020
bugfix: fix missing error message 'Unable to autodetect advertiser ip
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This is bug report for project size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When only loopback is found, provide a clear error message.
3 participants