@@ -54,7 +54,7 @@ func TestExportTimeSeriesWithDifferentLabels(t *testing.T) {
5454
5555 // Set empty labels to avoid the opencensus-task
5656 DefaultMonitoringLabels : & Labels {},
57- MapResource : defaultMapResource ,
57+ MapResource : DefaultMapResource ,
5858 }
5959 se , err := newStatsExporter (exporterOptions )
6060 if err != nil {
@@ -260,7 +260,7 @@ func TestProtoMetricToCreateTimeSeriesRequest(t *testing.T) {
260260 },
261261 },
262262 statsExporter : & statsExporter {
263- o : Options {ProjectID : "foo" , MapResource : defaultMapResource },
263+ o : Options {ProjectID : "foo" , MapResource : DefaultMapResource },
264264 },
265265 want : []* monitoringpb.CreateTimeSeriesRequest {
266266 {
@@ -331,7 +331,7 @@ func TestProtoMetricToCreateTimeSeriesRequest(t *testing.T) {
331331 },
332332 },
333333 statsExporter : & statsExporter {
334- o : Options {ProjectID : "foo" , MapResource : defaultMapResource },
334+ o : Options {ProjectID : "foo" , MapResource : DefaultMapResource },
335335 },
336336 want : []* monitoringpb.CreateTimeSeriesRequest {
337337 {
@@ -446,7 +446,7 @@ func TestProtoMetricWithDifferentResource(t *testing.T) {
446446 },
447447 },
448448 statsExporter : & statsExporter {
449- o : Options {ProjectID : "foo" , MapResource : defaultMapResource },
449+ o : Options {ProjectID : "foo" , MapResource : DefaultMapResource },
450450 },
451451 want : []* monitoringpb.CreateTimeSeriesRequest {
452452 {
@@ -518,7 +518,7 @@ func TestProtoMetricWithDifferentResource(t *testing.T) {
518518 },
519519 },
520520 statsExporter : & statsExporter {
521- o : Options {ProjectID : "foo" , MapResource : defaultMapResource },
521+ o : Options {ProjectID : "foo" , MapResource : DefaultMapResource },
522522 },
523523 want : []* monitoringpb.CreateTimeSeriesRequest {
524524 {
0 commit comments