les: fix staticcheck warnings (#20371)

This commit is contained in:
Guillaume Ballet
2019-11-27 09:49:41 +01:00
committed by GitHub
parent 23c8c74131
commit c4844e9ee2
2 changed files with 43 additions and 43 deletions

View File

@ -119,7 +119,7 @@ func (rm *retrieveManager) retrieve(ctx context.Context, reqID uint64, req *dist
case <-ctx.Done():
sentReq.stop(ctx.Err())
case <-shutdown:
sentReq.stop(fmt.Errorf("Client is shutting down"))
sentReq.stop(fmt.Errorf("client is shutting down"))
}
return sentReq.getError()
}