From 48a7860211cdb0b087658fc684ebd0f8168fb16e Mon Sep 17 00:00:00 2001 From: Alessandro Boch Date: Wed, 17 Feb 2016 16:35:11 -0800 Subject: [PATCH] Fix cross compilation breakage - happened becasue of two independent commits Signed-off-by: Alessandro Boch --- libnetwork/ipams/windowsipam/windowsipam.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libnetwork/ipams/windowsipam/windowsipam.go b/libnetwork/ipams/windowsipam/windowsipam.go index 648d8d24d8..6c112d2536 100644 --- a/libnetwork/ipams/windowsipam/windowsipam.go +++ b/libnetwork/ipams/windowsipam/windowsipam.go @@ -4,6 +4,7 @@ import ( "net" log "github.com/Sirupsen/logrus" + "github.com/docker/libnetwork/discoverapi" "github.com/docker/libnetwork/ipamapi" "github.com/docker/libnetwork/types" ) @@ -80,3 +81,13 @@ func (a *allocator) ReleaseAddress(poolID string, address net.IP) error { log.Debugf("ReleaseAddress(%s, %v)", poolID, address) return nil } + +// DiscoverNew informs the allocator about a new global scope datastore +func (a *allocator) DiscoverNew(dType discoverapi.DiscoveryType, data interface{}) error { + return nil +} + +// DiscoverDelete is a notification of no interest for the allocator +func (a *allocator) DiscoverDelete(dType discoverapi.DiscoveryType, data interface{}) error { + return nil +}