File tree 2 files changed +5
-7
lines changed
opentelemetry-otlp/tests/integration_test/tests
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,10 @@ fn init_logs(is_simple: bool) -> Result<sdklogs::LoggerProvider> {
40
40
. with_resource (
41
41
Resource :: builder_empty ( )
42
42
. with_service_name ( "logs-integration-test" )
43
- . with_attribute (
44
- KeyValue :: new (
45
- "data" ,
46
- Value :: Bytes ( b"\x80 \x80 \x80 " . to_vec ( ) . into ( ) ) ,
47
- )
48
- )
43
+ . with_attribute ( KeyValue :: new (
44
+ "data" ,
45
+ Value :: Bytes ( b"\x80 \x80 \x80 " . to_vec ( ) . into ( ) ) ,
46
+ ) )
49
47
. build ( ) ,
50
48
)
51
49
. build ( ) ;
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ impl BytesValue {
378
378
pub fn as_slice ( & self ) -> & [ u8 ] {
379
379
self . 0 . as_slice ( )
380
380
}
381
-
381
+
382
382
/// Retruns a Vec<u8> from the BytesValue
383
383
pub fn into_vec ( self ) -> Vec < u8 > {
384
384
match self . 0 {
You can’t perform that action at this time.
0 commit comments