From 5913ae8960c7ae5d748c37aa060bd35c99ff8a05 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Mon, 12 Feb 2018 12:22:32 +0400 Subject: [PATCH] Quit method was added to Service/BaseService Refs https://github.com/tendermint/tendermint/issues/1205 --- client/socket_client.go | 2 +- glide.lock | 22 +++++++++++----------- glide.yaml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/socket_client.go b/client/socket_client.go index ecdc36945..3030bb571 100644 --- a/client/socket_client.go +++ b/client/socket_client.go @@ -135,7 +135,7 @@ func (cli *socketClient) sendRequestsRoutine(conn net.Conn) { default: // Probably will fill the buffer, or retry later. } - case <-cli.BaseService.Quit: + case <-cli.Quit(): return case reqres := <-cli.reqQueue: cli.willSendReq(reqres) diff --git a/glide.lock b/glide.lock index 7bcb114a6..5d359f583 100644 --- a/glide.lock +++ b/glide.lock @@ -1,5 +1,5 @@ -hash: 304088ee640b9e5897ece75503d07f800aabba0618bd668bf1144f478809b646 -updated: 2018-02-03T02:38:14.152640307-05:00 +hash: 1d098f2b05c1895e810b75c282fceda06975a0eaf89bed621157bc2e6e1956cc +updated: 2018-02-12T08:19:16.965601799Z imports: - name: github.com/go-kit/kit version: 4dc7be5d2d12881735283bcab7352178e190fc71 @@ -10,7 +10,7 @@ imports: - name: github.com/go-logfmt/logfmt version: 390ab7935ee28ec6b286364bba9b4dd6410cb3d5 - name: github.com/go-stack/stack - version: 817915b46b97fd7bb80e8ab6b69f01a53ac3eebf + version: 100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 - name: github.com/gogo/protobuf version: 1adfc126b41513cc696b209667c8656ea7aac67c subpackages: @@ -21,7 +21,7 @@ imports: - sortkeys - types - name: github.com/golang/protobuf - version: 1e59b77b52bf8e4b449a57e6f79f21226d571845 + version: 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9 subpackages: - proto - ptypes @@ -41,9 +41,9 @@ imports: - name: github.com/spf13/cobra version: 7b2c5ac9fc04fc5efafb60700713d4fa609b777b - name: github.com/spf13/pflag - version: 97afa5e7ca8a08a383cb259e06636b5e2cc7897f + version: 80fe0fb4eba54167e2ccae1c6c950e72abf61b73 - name: github.com/syndtr/goleveldb - version: b89cc31ef7977104127d34c1bd31ebd1a9db2199 + version: 8c81ea47d4c41a385645e133e15510fc6a2a74b4 subpackages: - leveldb - leveldb/cache @@ -58,14 +58,14 @@ imports: - leveldb/table - leveldb/util - name: github.com/tendermint/tmlibs - version: deaaf014d8b8d1095054380a38b1b00e293f725f + version: a57340ffb53aefb0fca1fc610d18fcbcc61b126f subpackages: - common - db - log - process - name: golang.org/x/net - version: d866cfc389cec985d6fda2859936a575a55a3ab6 + version: cd69bc3fc700721b709c3a59e16e24c67b58f6ff subpackages: - context - http2 @@ -75,14 +75,14 @@ imports: - lex/httplex - trace - name: golang.org/x/text - version: c01e4764d870b77f8abe5096ee19ad20d80e8075 + version: 470f45bf29f4147d6fbd7dfd0a02a848e49f5bf4 subpackages: - secure/bidirule - transform - unicode/bidi - unicode/norm - name: google.golang.org/genproto - version: a8101f21cf983e773d0c1133ebc5424792003214 + version: f676e0f3ac6395ff1a529ae59a6670878a8371a6 subpackages: - googleapis/rpc/status - name: google.golang.org/grpc @@ -106,7 +106,7 @@ imports: - transport testImports: - name: github.com/davecgh/go-spew - version: 346938d642f2ec3594ed81d874461961cd0faa76 + version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9 subpackages: - spew - name: github.com/pmezard/go-difflib diff --git a/glide.yaml b/glide.yaml index ec713c56c..8c93de00c 100644 --- a/glide.yaml +++ b/glide.yaml @@ -9,7 +9,7 @@ import: - package: github.com/spf13/cobra version: v0.0.1 - package: github.com/tendermint/tmlibs - version: develop + version: a57340ffb53aefb0fca1fc610d18fcbcc61b126f subpackages: - common - db