| Index: common/logdog/coordinator/client.go
|
| diff --git a/common/logdog/coordinator/client.go b/common/logdog/coordinator/client.go
|
| index 91189d528ed8c7e08cd8fe016619f291ef167027..c856416135827aef08b9d41a23b0d6adda1a2129 100644
|
| --- a/common/logdog/coordinator/client.go
|
| +++ b/common/logdog/coordinator/client.go
|
| @@ -7,6 +7,7 @@ package coordinator
|
| import (
|
| "github.com/luci/luci-go/common/api/logdog_coordinator/logs/v1"
|
| "github.com/luci/luci-go/common/auth"
|
| + "github.com/luci/luci-go/common/config"
|
| "github.com/luci/luci-go/common/logdog/types"
|
| "github.com/luci/luci-go/common/prpc"
|
| )
|
| @@ -25,12 +26,15 @@ var (
|
| type Client struct {
|
| // C is the underlying LogsClient interface.
|
| C logdog.LogsClient
|
| +
|
| + project config.ProjectName
|
| }
|
|
|
| // NewClient returns a new Client instance bound to a pRPC Client.
|
| -func NewClient(c *prpc.Client) *Client {
|
| +func NewClient(c *prpc.Client, project config.ProjectName) *Client {
|
| return &Client{
|
| - C: logdog.NewLogsPRPCClient(c),
|
| + C: logdog.NewLogsPRPCClient(c),
|
| + project: project,
|
| }
|
| }
|
|
|
|
|