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{
140140 "org" : constValue ("org" ),
141141 "env" : constValue ("env" ),
142142 "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 " ),
145145 "runtime_version" : constValue ("runtime_version" ),
146146 "instance_id" : constValue ("instance_id" ),
147147 },
Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ func TestTranslateTargetV2(t *testing.T) {
213213 }
214214 metricLabels := labels.Labels {
215215 {"proxy_name" , "my-name" },
216- {"target_type " , "my-target " },
217- {"target_endpoint " , "my-endpoint" },
216+ {"type " , "my-type " },
217+ {"endpoint " , "my-endpoint" },
218218 {"org" , "my-org" },
219219 {"env" , "my-env" },
220220 {"runtime_version" , "my-revision" },
@@ -227,8 +227,8 @@ func TestTranslateTargetV2(t *testing.T) {
227227 "org" : "my-org" ,
228228 "env" : "my-env" ,
229229 "proxy_name" : "my-name" ,
230- "target_type " : "my-target " ,
231- "target_endpoint" : "my-endpoint" ,
230+ "type " : "my-type " ,
231+ "endpoint" : "my-endpoint" ,
232232 "runtime_version" : "my-revision" ,
233233 "instance_id" : "my-instance" ,
234234 }
You can’t perform that action at this time.
0 commit comments