Skip to content

Commit cea39c2

Browse files
authored
test/dynamic: mark BodyCallbacksFilter test helpers as test-only (#41859)
and quieten unused methods warning Signed-off-by: Ryan Northey <[email protected]>
1 parent 5c08c21 commit cea39c2

File tree

1 file changed

+1
-0
lines changed
  • test/extensions/dynamic_modules/test_data/rust

1 file changed

+1
-0
lines changed

test/extensions/dynamic_modules/test_data/rust/http.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ struct BodyCallbacksFilter {
695695
response_body: Vec<u8>,
696696
}
697697

698+
#[cfg(test)]
698699
impl BodyCallbacksFilter {
699700
fn get_final_read_request_body<'a>(&'a self) -> &'a Vec<u8> {
700701
&self.request_body

0 commit comments

Comments
 (0)