add debug statement
This commit is contained in:
parent
1f9a645c57
commit
8abf6ad255
1 changed files with 2 additions and 1 deletions
|
@ -115,9 +115,10 @@ func (i *IPPool) ReleaseIP(ip string) {
|
||||||
if localIP.IP == ip {
|
if localIP.IP == ip {
|
||||||
localIP.InUse = false
|
localIP.InUse = false
|
||||||
localIP.LastUse = time.Now()
|
localIP.LastUse = time.Now()
|
||||||
break
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
util.SendErrorToSlack("something went wrong while releasing the IP %s as we reached the end of the function", ip)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (i *IPPool) SetThrottled(ip string) {
|
func (i *IPPool) SetThrottled(ip string) {
|
||||||
|
|
Loading…
Reference in a new issue