File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,8 @@ var TargetV2ResourceMap = ResourceMap{
140
140
"org" : constValue ("org" ),
141
141
"env" : constValue ("env" ),
142
142
"proxy_name" : constValue ("proxy_name" ),
143
- "target_type " : constValue ("target_type " ),
144
- "target_endpoint " : constValue ("target_endpoint " ),
143
+ "type " : constValue ("type " ),
144
+ "endpoint " : constValue ("endpoint " ),
145
145
"runtime_version" : constValue ("runtime_version" ),
146
146
"instance_id" : constValue ("instance_id" ),
147
147
},
Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ func TestTranslateTargetV2(t *testing.T) {
213
213
}
214
214
metricLabels := labels.Labels {
215
215
{"proxy_name" , "my-name" },
216
- {"target_type " , "my-target " },
217
- {"target_endpoint " , "my-endpoint" },
216
+ {"type " , "my-type " },
217
+ {"endpoint " , "my-endpoint" },
218
218
{"org" , "my-org" },
219
219
{"env" , "my-env" },
220
220
{"runtime_version" , "my-revision" },
@@ -227,8 +227,8 @@ func TestTranslateTargetV2(t *testing.T) {
227
227
"org" : "my-org" ,
228
228
"env" : "my-env" ,
229
229
"proxy_name" : "my-name" ,
230
- "target_type " : "my-target " ,
231
- "target_endpoint" : "my-endpoint" ,
230
+ "type " : "my-type " ,
231
+ "endpoint" : "my-endpoint" ,
232
232
"runtime_version" : "my-revision" ,
233
233
"instance_id" : "my-instance" ,
234
234
}
You can’t perform that action at this time.
0 commit comments