diff --git a/plugins/ipam/dhcp/daemon.go b/plugins/ipam/dhcp/daemon.go index 0b1dadfe..7aa84208 100644 --- a/plugins/ipam/dhcp/daemon.go +++ b/plugins/ipam/dhcp/daemon.go @@ -91,10 +91,9 @@ func (d *DHCP) Release(args *skel.CmdArgs, reply *struct{}) error { if l := d.getLease(args.ContainerID, conf.Name); l != nil { l.Stop() - return nil } - return fmt.Errorf("lease not found: %v/%v", args.ContainerID, conf.Name) + return nil } func (d *DHCP) getLease(contID, netName string) *DHCPLease {