``` $ gvt delete golang.org/x/net/context $ gvt fetch golang.org/x/net/context 2018/07/23 18:03:49 Fetching: golang.org/x/net/context $ git grep -l "golang.org/x/net/context" | grep -v vendor | xargs sed -i '' 's:golang.org/x/net/context:context:g' $ git grep -l "context/ctxhttp" | grep -v vendor | xargs sed -i '' 's:context/ctxhttp:golang.org/x/net/context/ctxhttp:g' $ gofmt -s -w app $ gofmt -s -w common $ gofmt -s -w probe $ gofmt -s -w prog $ gofmt -s -w tools ``` fixed a bunch of: ``` cannot use func literal (type func("github.com/weaveworks/scope/vendor/golang.org/x/net/context".Context) error) as type func("context".Context) error ```
* Increase number of test VMs to 5 per shard. * Make pipe router test shorter.
Fix a few bugs in the consul pipe router: - Don't share a pointer - Write nil to pipe when closing a bridge connection to ensure the connection shutdown. - Ensure we shutdown bridge connections correctly