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

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11826/head^2
bigsheeper 2021-11-16 09:29:29 +08:00 committed by GitHub
parent 698071de6f
commit 94d516bc61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")}