Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: common/tsmon/metric/metric_test.go

Issue 1854583002: Migrate tsmon protos to proto3 (Closed) Base URL: git@github.com:luci/luci-go.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/tsmon/flush_test.go ('k') | common/tsmon/monitor/acq.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/tsmon/metric/metric_test.go
diff --git a/common/tsmon/metric/metric_test.go b/common/tsmon/metric/metric_test.go
index b25f7bebfc22800bb8b73be876961eb44c0d647e..07d5c87d4e9aad815beec39c6f674c5594e1f725 100644
--- a/common/tsmon/metric/metric_test.go
+++ b/common/tsmon/metric/metric_test.go
@@ -7,7 +7,6 @@ package metric
import (
"testing"
- "github.com/golang/protobuf/proto"
"github.com/luci/luci-go/common/tsmon"
"github.com/luci/luci-go/common/tsmon/distribution"
"github.com/luci/luci-go/common/tsmon/monitor"
@@ -21,7 +20,7 @@ import (
func makeContext() context.Context {
return tsmon.WithState(context.Background(), &tsmon.State{
- S: store.NewInMemory(&target.Task{ServiceName: proto.String("default target")}),
+ S: store.NewInMemory(&target.Task{ServiceName: "default target"}),
M: monitor.NewNilMonitor(),
RegisteredMetrics: map[string]types.Metric{},
})
« no previous file with comments | « common/tsmon/flush_test.go ('k') | common/tsmon/monitor/acq.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698