Skip to content

Commit

Permalink
fix networkConfig for container replace (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
zc authored and CMGS committed Oct 18, 2019
1 parent f254071 commit 49fb04e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engine/docker/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func (e *Engine) VirtualizationCreate(ctx context.Context, opts *enginetypes.Vir
networkMode := dockercontainer.NetworkMode(opts.Network)
for name := range opts.Networks {
networkMode = dockercontainer.NetworkMode(name)
opts.Networks[name] = ""
break
}
// 如果没有 network 用默认值替换
Expand Down

0 comments on commit 49fb04e

Please sign in to comment.