Skip to content

Commit 73e3ce6

Browse files
committed
Merge pull request #955 from aboch/wnd
Fix cross compilation breakage
2 parents 5bb02af + 72d08dc commit 73e3ce6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

ipams/windowsipam/windowsipam.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"net"
55

66
log "github.com/Sirupsen/logrus"
7+
"github.com/docker/libnetwork/discoverapi"
78
"github.com/docker/libnetwork/ipamapi"
89
"github.com/docker/libnetwork/types"
910
)
@@ -80,3 +81,13 @@ func (a *allocator) ReleaseAddress(poolID string, address net.IP) error {
8081
log.Debugf("ReleaseAddress(%s, %v)", poolID, address)
8182
return nil
8283
}
84+
85+
// DiscoverNew informs the allocator about a new global scope datastore
86+
func (a *allocator) DiscoverNew(dType discoverapi.DiscoveryType, data interface{}) error {
87+
return nil
88+
}
89+
90+
// DiscoverDelete is a notification of no interest for the allocator
91+
func (a *allocator) DiscoverDelete(dType discoverapi.DiscoveryType, data interface{}) error {
92+
return nil
93+
}

0 commit comments

Comments
 (0)