summaryrefslogtreecommitdiff
path: root/service/rpc
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
committerWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
commitec7b916f2162110430122b5bab0b718de9b4b5b0 (patch)
treeff9c79382013c95fbd8caa16add8809a4edf7d6f /service/rpc
parenta14a6cd6c2fa4fdcdb8b3343d6f3ef537c10b4e0 (diff)
golint
Diffstat (limited to 'service/rpc')
-rw-r--r--service/rpc/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/rpc/config_test.go b/service/rpc/config_test.go
index b335be19..6a2138d2 100644
--- a/service/rpc/config_test.go
+++ b/service/rpc/config_test.go
@@ -85,7 +85,7 @@ func Test_Config_ErrorMethod(t *testing.T) {
func TestConfig_Dialer(t *testing.T) {
cfg := &Config{Listen: "tcp://:18001"}
- ln, err := cfg.Listener()
+ ln, _ := cfg.Listener()
defer ln.Close()
conn, err := cfg.Dialer()
@@ -104,7 +104,7 @@ func TestConfig_DialerUnix(t *testing.T) {
cfg := &Config{Listen: "unix://rpc.sock"}
- ln, err := cfg.Listener()
+ ln, _ := cfg.Listener()
defer ln.Close()
conn, err := cfg.Dialer()