libnetwork/drivers/overlay: pass context for logger

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-21 15:08:03 +02:00
parent 79f01e4ffc
commit ee3cab4158

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 {