Fix pending connections never going to established (#1204)

This commit is contained in:
pasquier-s 2018-01-21 15:09:50 +01:00 committed by stuart nelson
parent 9b10acae68
commit 63598904dc
2 changed files with 8 additions and 4 deletions

View File

@ -108,7 +108,11 @@ func (NullOverlay) Diagnostics() interface{} { return nil }
func (NullOverlay) Confirm() {}
// EstablishedChannel implements OverlayConnection.
func (NullOverlay) EstablishedChannel() <-chan struct{} { return nil }
func (NullOverlay) EstablishedChannel() <-chan struct{} {
c := make(chan struct{})
close(c)
return c
}
// ErrorChannel implements OverlayConnection.
func (NullOverlay) ErrorChannel() <-chan error { return nil }

6
vendor/vendor.json vendored
View File

@ -281,10 +281,10 @@
"revisionTime": "2016-11-21T14:22:35Z"
},
{
"checksumSHA1": "Hc5wR0iUw/ofXSMFbYIAI/sxRC8=",
"checksumSHA1": "l9QnjqWTJyUcX4aoylCg2f/eW9g=",
"path": "github.com/weaveworks/mesh",
"revision": "38e8100dfbc7b28ae8ffde5a2bbeceec57ffa52a",
"revisionTime": "2017-07-31T09:06:22Z"
"revision": "fb4080d8ee8c3999005e85f5afcbc76b0f74b30a",
"revisionTime": "2018-01-19T10:45:17Z"
},
{
"checksumSHA1": "h+pFYiRHBogczS8/F1NoN3Ata44=",