Skip to content

Commit

Permalink
fix: android build (#5329)
Browse files Browse the repository at this point in the history
* fix: android build

Signed-off-by: yihong0618 <[email protected]>

* fix: better fix address comments

Signed-off-by: yihong0618 <[email protected]>

---------

Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 authored Jan 9, 2025
1 parent 0685ba2 commit 78d0fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-srv/src/metasrv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ impl MetasrvOptions {
}

#[cfg(target_os = "android")]
pub fn detect_hostname(&mut self) {
pub fn detect_server_addr(&mut self) {
if self.server_addr.is_empty() {
common_telemetry::debug!("detect local IP is not supported on Android");
}
Expand Down

0 comments on commit 78d0fa7

Please sign in to comment.