소스 검색

Merge pull request #955 from aboch/wnd

Fix cross compilation breakage
Madhu Venugopal 9 년 전
부모
커밋
22cfa44e9a
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      libnetwork/ipams/windowsipam/windowsipam.go

+ 11 - 0
libnetwork/ipams/windowsipam/windowsipam.go

@@ -4,6 +4,7 @@ import (
 	"net"
 	"net"
 
 
 	log "github.com/Sirupsen/logrus"
 	log "github.com/Sirupsen/logrus"
+	"github.com/docker/libnetwork/discoverapi"
 	"github.com/docker/libnetwork/ipamapi"
 	"github.com/docker/libnetwork/ipamapi"
 	"github.com/docker/libnetwork/types"
 	"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)
 	log.Debugf("ReleaseAddress(%s, %v)", poolID, address)
 	return nil
 	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
+}