File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,6 @@ mod tests {
193
193
span. meta . insert ( "origin" . into ( ) , "cloudfunction" . into ( ) ) ;
194
194
span. meta
195
195
. insert ( "functionname" . into ( ) , "dummy_function_name" . into ( ) ) ;
196
- span. r#type = "serverless" . into ( ) ;
197
196
}
198
197
span
199
198
}
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ pub fn create_test_span(
123
123
"functionname" . to_string ( ) ,
124
124
"dummy_function_name" . to_string ( ) ,
125
125
) ;
126
- span. r#type = "serverless" . to_string ( ) ;
127
126
}
128
127
span
129
128
}
@@ -185,7 +184,6 @@ pub fn create_test_gcp_span(
185
184
. insert ( "_dd.origin" . to_string ( ) , "cloudfunction" . to_string ( ) ) ;
186
185
span. meta
187
186
. insert ( "origin" . to_string ( ) , "cloudfunction" . to_string ( ) ) ;
188
- span. r#type = "serverless" . to_string ( ) ;
189
187
}
190
188
span
191
189
}
Original file line number Diff line number Diff line change @@ -436,7 +436,6 @@ pub fn set_serverless_root_span_tags(
436
436
app_name : Option < String > ,
437
437
env_type : & EnvironmentType ,
438
438
) {
439
- span. r#type = "serverless" . to_string ( ) ;
440
439
let origin_tag = match env_type {
441
440
EnvironmentType :: CloudFunction => "cloudfunction" ,
442
441
EnvironmentType :: AzureFunction => "azurefunction" ,
@@ -1043,7 +1042,6 @@ mod tests {
1043
1042
( "service" . to_string( ) , "test-service" . to_string( ) )
1044
1043
] ) ,
1045
1044
) ;
1046
- assert_eq ! ( span. r#type, "serverless" . to_string( ) )
1047
1045
}
1048
1046
1049
1047
#[ test]
@@ -1068,7 +1066,6 @@ mod tests {
1068
1066
( "service" . to_string( ) , "test-service" . to_string( ) )
1069
1067
] ) ,
1070
1068
) ;
1071
- assert_eq ! ( span. r#type, "serverless" . to_string( ) )
1072
1069
}
1073
1070
1074
1071
#[ test]
You can’t perform that action at this time.
0 commit comments