mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #51241 from thaJeztah/overlay_pass_context
libnetwork/drivers/overlay: pass context for logger
This commit is contained in:
@@ -115,7 +115,7 @@ func (d *driver) CreateNetwork(ctx context.Context, id string, option map[string
|
||||
if !ok {
|
||||
return errors.New("no VNI provided")
|
||||
}
|
||||
log.G(context.TODO()).Debugf("overlay: Received vxlan IDs: %s", vnisOpt)
|
||||
log.G(ctx).Debugf("overlay: Received vxlan IDs: %s", vnisOpt)
|
||||
var err error
|
||||
vnis, err = overlayutils.AppendVNIList(vnis, vnisOpt)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user