Get container IP for various networks

This commit is contained in:
Bryan Boreham committed 2015-11-30 14:27:33 +00:00
1 parent 85e465cfa4
commit 5eb99fe5ef
2 files changed
+15 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func NewWatcher(client *docker.Client) (Watcher, error) {
func (w *watcher) haveWeaveClient() bool {
if w.weave == nil {
dnsip, err := w.client.GetContainerBridgeIP(WeaveContainer)
dnsip, err := w.client.GetContainerIP(WeaveContainer)
if err != nil {
Log.Warningf("nameserver not available: %s", err)
return false