mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #1466 from rony36/master
Fix macvlan private mode argument vaildation
This commit is contained in:
commit
c609dfcfe7
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ func (d *driver) CreateNetwork(nid string, option map[string]interface{}, nInfo
|
|||
case "", modeBridge:
|
||||
// default to macvlan bridge mode if -o macvlan_mode is empty
|
||||
config.MacvlanMode = modeBridge
|
||||
case modeOpt:
|
||||
config.MacvlanMode = modeOpt
|
||||
case modePrivate:
|
||||
config.MacvlanMode = modePrivate
|
||||
case modePassthru:
|
||||
config.MacvlanMode = modePassthru
|
||||
case modeVepa:
|
||||
|
|
Loading…
Add table
Reference in a new issue