Skip to content

Commit

Permalink
reduce visibility of test func
Browse files Browse the repository at this point in the history
  • Loading branch information
eloylp committed Apr 12, 2024
1 parent 76d6d59 commit 25168d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ampd/src/health_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Server {
}

#[cfg(test)]
pub fn listening_addr(&self) -> Result<SocketAddr, HealthCheckError> {
fn listening_addr(&self) -> Result<SocketAddr, HealthCheckError> {
Ok(self
.listener
.local_addr()
Expand Down

0 comments on commit 25168d3

Please sign in to comment.