Index: appengine/tsmon/global_callback_test.go |
diff --git a/appengine/tsmon/global_callback_test.go b/appengine/tsmon/global_callback_test.go |
index 151da00e9af7ad2eecc3dab67b9ced4bd5a138e5..f0d949f7dccfe44f7507116116bfc7c4f3424b1f 100644 |
--- a/appengine/tsmon/global_callback_test.go |
+++ b/appengine/tsmon/global_callback_test.go |
@@ -14,6 +14,7 @@ import ( |
"github.com/luci/luci-go/common/clock" |
"github.com/luci/luci-go/common/tsmon" |
"github.com/luci/luci-go/common/tsmon/metric" |
+ "github.com/luci/luci-go/common/tsmon/types" |
"github.com/luci/luci-go/server/router" |
"golang.org/x/net/context" |
@@ -46,7 +47,7 @@ func TestGlobalCallbacks(t *testing.T) { |
c, _ := buildGAETestContext() |
state, mon := buildTestState() |
- m := metric.NewCallbackStringIn(c, "foo", "") |
+ m := metric.NewCallbackStringIn(c, "foo", "", types.MetricMetadata{}) |
tsmon.RegisterGlobalCallbackIn(c, func(c context.Context) { |
m.Set(c, "bar") |