From 775a84a9d4f93abb4e51ef80ce82f952898d338c Mon Sep 17 00:00:00 2001
From: wangwx <wangwx@tuya.com>
Date: Mon, 25 Jan 2021 19:17:10 +0800
Subject: [PATCH] fix lint

---
 cluster/router/chain/chain_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cluster/router/chain/chain_test.go b/cluster/router/chain/chain_test.go
index dcd157ab7..e4419ff8e 100644
--- a/cluster/router/chain/chain_test.go
+++ b/cluster/router/chain/chain_test.go
@@ -161,6 +161,7 @@ conditions:
 
 func TestRouterChainRoute(t *testing.T) {
 	ts, _, _, err := zookeeper.NewMockZookeeperClient("test", 15*time.Second, zookeeper.WithTestCluster(zkCluster))
+	assert.Nil(t, err)
 	zkUrl, _ := common.NewURL(fmt.Sprintf(zkFormat, localIP, ts.Servers[0].Port))
 	configuration, err := extension.GetConfigCenterFactory(zkName).GetDynamicConfiguration(zkUrl)
 	assert.NoError(t, err)
-- 
GitLab