未验证 提交 94d516bc 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Fix golint error for MockRootCoord (#11857)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 698071de
......@@ -312,7 +312,7 @@ func Test_Run(t *testing.T) {
server.querynode = &MockQueryNode{}
server.indexCoord = &MockIndexCoord{}
server.rootCoord = &MockRootCoord{initErr: errors.New("Failed")}
server.rootCoord = &MockRootCoord{initErr: errors.New("failed")}
assert.Panics(t, func() { err = server.Run() })
server.rootCoord = &MockRootCoord{startErr: errors.New("Failed")}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册