Skip to content

Commit

Permalink
tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaprots authored Jul 13, 2024
1 parent 8419a89 commit cefec5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/plugin/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func (p *Plugin) netOptions(ctx context.Context, id string) (DHCPNetworkOptions,
// move the interface into the container's namespace and apply the address.
func (p *Plugin) CreateEndpoint(ctx context.Context, r CreateEndpointRequest) (CreateEndpointResponse, error) {
log.WithField("options", r.Options).Debug("CreateEndpoint options")
log.Debugf("VP>>>>>> CreateEndpoint Request %+v", r)
ctx, cancel := context.WithTimeout(ctx, p.awaitTimeout)
defer cancel()
res := CreateEndpointResponse{
Expand Down Expand Up @@ -188,7 +189,7 @@ func (p *Plugin) CreateEndpoint(ctx context.Context, r CreateEndpointRequest) (C
PeerName: ctrName,
}

log.Debugf("VP>>>>>> CreateEndpoint Options %+v", r.Options)
log.Debugf("VP>>>>>> CreateEndpoint 3")

if r.Interface.MacAddress != "" {
addr, err := net.ParseMAC(r.Interface.MacAddress)
Expand Down

0 comments on commit cefec5b

Please sign in to comment.