mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix macvlan private mode argument vaildation
Signed-off-by: Rony Weng <ronyweng@synology.com>
This commit is contained in:
parent
d67eb59295
commit
bd7fc6431b
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…
Reference in a new issue