Skip to content

Commit

Permalink
chore(operator): removed node port env
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Feb 27, 2024
1 parent 8cf7b5c commit e41cced
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions operator/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pub fn get_config() -> &'static Config {
pub struct Config {
pub dns_zone: String,
pub extension_name: String,
pub node_port: u16,
pub api_key_salt: String,
}

Expand All @@ -22,9 +21,6 @@ impl Config {
Self {
dns_zone: env::var("DNS_ZONE").unwrap_or("demeter.run".into()),
extension_name: env::var("EXTENSION_NAME").unwrap_or("node-m1".into()),
node_port: env::var("NODE_PORT")
.map(|e| e.parse().expect("NODE_PORT must be a number u16"))
.unwrap_or(9443),
api_key_salt: env::var("API_KEY_SALT").unwrap_or("cardano-node-salt".into()),
}
}
Expand Down

0 comments on commit e41cced

Please sign in to comment.