-
Notifications
You must be signed in to change notification settings - Fork 882
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
Bridge driver to support multiple networks #202
Conversation
return d.network, nil | ||
|
||
if id == "" { | ||
return nil, types.BadRequestErrorf("Invalid network id: %s", id) |
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.
Make all error strings start with lower case in this PR
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.
I will.
Ping @mrjana. Thanks for your comments. Took care of them. Please take a look when you get a chance. Also, given multiple network support, automated and enlarged system provided pool of networks in bridge.go. |
n, ok := d.networks[nid] | ||
if !ok { | ||
d.Unlock() | ||
return types.NotFoundErrorf("Network %s does not exist", nid) |
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.
You still have strings starting with upper case
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.
will change
ping @mrjana . Pls take a look. |
LGTM |
LGTM. I think this has some level of dependency with #199 and hence will like to get that merged first followed by this PR. |
@aboch needs a rebase |
Signed-off-by: Alessandro Boch <aboch@docker.com>
thanks @aboch . |
Bridge driver to support multiple networks
Signed-off-by: Alessandro Boch aboch@docker.com