diff --git a/apollo-router/tests/zipkin_test.rs b/apollo-router/tests/zipkin_test.rs index 77a44138d8..aa7c3b7914 100644 --- a/apollo-router/tests/zipkin_test.rs +++ b/apollo-router/tests/zipkin_test.rs @@ -111,7 +111,7 @@ async fn find_valid_trace( let service_name = trace.select_path("$..localEndpoint.serviceName")?; assert_eq!( - service_name.get(0), + service_name.first(), Some(&&Value::String("router".to_string())) );