Skip to content

Commit

Permalink
Ensure metrics port is set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Sep 16, 2020
1 parent f4d92b4 commit dbdc177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ pub fn get_config<E: EthSpec>(
client_config.network.discovery_port =
unused_port("udp").map_err(|e| format!("Failed to get port for discovery: {}", e))?;
client_config.http_api.listen_port = 0;
client_config.http_metrics.listen_port = 0;
client_config.websocket_server.port = 0;
}

Expand Down

0 comments on commit dbdc177

Please sign in to comment.