Skip to content

Commit c641c1e

Browse files
authored
Merge branch 'main' into remove_shared_data
2 parents 3018a41 + 3b6f86f commit c641c1e

File tree

1 file changed

+1
-3
lines changed
  • examples/envoy_filter_metadata/src

1 file changed

+1
-3
lines changed

examples/envoy_filter_metadata/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ impl HttpContext for MetadataHttp {
3838
self.send_http_response(
3939
200,
4040
vec![("Powered-By", "proxy-wasm"), ("uppercased-metadata", &data)],
41-
Some(
42-
format!("Custom response with Envoy metadata: {:?}\n", data).as_bytes(),
43-
),
41+
Some(format!("Custom response with Envoy metadata: {data:?}\n").as_bytes()),
4442
);
4543
Action::Pause
4644
}

0 commit comments

Comments
 (0)