Skip to content

Commit

Permalink
change visibility of property::get_property to the parent module
Browse files Browse the repository at this point in the history
Signed-off-by: Eguzki Astiz Lezaun <[email protected]>
  • Loading branch information
eguzki committed Nov 8, 2024
1 parent a62ad35 commit ce3a829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/property.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub(super) fn host_get_property(path: &Path) -> Result<Option<Vec<u8>>, Status>
proxy_wasm::hostcalls::get_property(path.tokens())
}

pub fn get_property(path: &Path) -> Result<Option<Vec<u8>>, Status> {
pub(super) fn get_property(path: &Path) -> Result<Option<Vec<u8>>, Status> {
match *path.tokens() {
["source", "remote_address"] => remote_address(),
["auth", ..] => host_get_property(&wasm_prop(path.tokens().as_slice())),
Expand Down

0 comments on commit ce3a829

Please sign in to comment.