Merge pull request #51241 from thaJeztah/overlay_pass_context

libnetwork/drivers/overlay: pass context for logger
This commit is contained in:
Rob Murray
2025-10-21 14:22:12 +01:00
committed by GitHub

View File

@@ -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 {