| Index: common/tsmon/store/inmemory_test.go
|
| diff --git a/common/tsmon/store/inmemory_test.go b/common/tsmon/store/inmemory_test.go
|
| index d466f188b5db38947f4f5b0389f677146f1b64df..3149e5a4012356a37a2d4f45022b1b74253eda50 100644
|
| --- a/common/tsmon/store/inmemory_test.go
|
| +++ b/common/tsmon/store/inmemory_test.go
|
| @@ -6,6 +6,7 @@
|
| import (
|
| "testing"
|
|
|
| + "github.com/golang/protobuf/proto"
|
| "github.com/luci/luci-go/common/tsmon/target"
|
| "golang.org/x/net/context"
|
| )
|
| @@ -14,7 +15,7 @@
|
| ctx := context.Background()
|
| RunStoreImplementationTests(t, ctx, TestOptions{
|
| Factory: func() Store {
|
| - return NewInMemory(&target.Task{ServiceName: "default target"})
|
| + return NewInMemory(&target.Task{ServiceName: proto.String("default target")})
|
| },
|
| RegistrationFinished: func(Store) {},
|
| GetNumRegisteredMetrics: func(s Store) int {
|
|
|