mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-09-05 21:31:37 +00:00
IPAM driver
- Add IPAM cotract and remote IPAM hooks - Add ipam registration in controller - Have default IPAM follow ipamapi contract Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
+2
-2
@@ -306,8 +306,8 @@ func (h *Handle) validateOrdinal(ordinal uint32) error {
|
||||
}
|
||||
|
||||
// Destroy removes from the datastore the data belonging to this handle
|
||||
func (h *Handle) Destroy() {
|
||||
h.deleteFromStore()
|
||||
func (h *Handle) Destroy() error {
|
||||
return h.deleteFromStore()
|
||||
}
|
||||
|
||||
// ToByteArray converts this handle's data into a byte array
|
||||
|
||||
Reference in New Issue
Block a user