Improve naming of 'release' function in IPAM API
This commit is contained in:
1 parent
b83f4a00ed
commit
0009b05635
2 files changed
+3
-3
No files matched your search
@@ -92,7 +92,7 @@ func (i *ipam) RequestAddress(poolID string, address net.IP, options map[string]
|
||||
|
||||
func (i *ipam) ReleaseAddress(poolID string, address net.IP) error {
|
||||
Log.Debugln("ReleaseAddress", poolID, address)
|
||||
return i.weave.ReleaseIP(address.String())
|
||||
return i.weave.ReleaseIPsFor(address.String())
|
||||
}
|
||||
|
||||
// Functions required by ipamapi "contract" but not actually used.
|
||||
|
||||
Reference in new issue
Block a user