-
Notifications
You must be signed in to change notification settings - Fork 10
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 client set container interface ip gateway #37
Conversation
Codecov Report
@@ Coverage Diff @@
## master #37 +/- ##
=======================================
Coverage 86.81% 86.81%
=======================================
Files 7 7
Lines 182 182
=======================================
Hits 158 158
Misses 15 15
Partials 9 9 Continue to review full report at Codecov.
|
client/main.go
Outdated
@@ -82,8 +82,23 @@ func main() { | |||
log.Fatalf("There is something wrong with connect bridge: %v", err) | |||
} | |||
if b.Success { | |||
log.Printf("Connecting bridge is sussessful. The reason is %s.", b.Reason) | |||
log.Printf("Connecting bridge is sussessful.") | |||
} else { | |||
log.Printf("Connecting bridge is not sussessful. The reason is %s.", b.Reason) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should break here
log.Fatalf("Connecting bridge is not sussessful. The reason is %s.", b.Reason)
e14d9eb
to
86143e7
Compare
client/main.go
Outdated
} else { | ||
log.Printf("Connecting bridge is not sussessful. The reason is %s.", b.Reason) | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase and call this function if and only if setIP is true
No description provided.