Improve naming of 'release' function in IPAM API

This commit is contained in:
Bryan Boreham committed 2016-03-07 16:24:53 +00:00
1 parent b83f4a00ed
commit 0009b05635
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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.