Skip to content

Commit

Permalink
fix: maintain_n_running_nodes used inverted upnp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mickvandijke committed Feb 28, 2025
1 parent c7c15e9 commit ab40b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ant-node-manager/src/cmd/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ pub async fn maintain_n_running_nodes(
rpc_port: Option<PortRange>,
src_path: Option<PathBuf>,
url: Option<String>,
upnp: bool,
no_upnp: bool,
user: Option<String>,
version: Option<String>,
verbosity: VerbosityLevel,
Expand Down Expand Up @@ -707,7 +707,7 @@ pub async fn maintain_n_running_nodes(
rpc_address,
rpc_port.clone(),
src_path.clone(),
upnp,
no_upnp,
url.clone(),
user.clone(),
version.clone(),
Expand Down
4 changes: 2 additions & 2 deletions node-launchpad/src/node_mgmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ async fn scale_down_nodes(config: &NodeConfig, count: u16) {
None,
config.antnode_path.clone(),
None,
config.upnp,
!config.upnp,
None,
None,
VerbosityLevel::Minimal,
Expand Down Expand Up @@ -508,7 +508,7 @@ async fn add_nodes(
None,
config.antnode_path.clone(),
None,
config.upnp,
!config.upnp,
None,
None,
VerbosityLevel::Minimal,
Expand Down

0 comments on commit ab40b22

Please sign in to comment.