Skip to content

Commit

Permalink
fix(simulator): fix simulator compose
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWad3r committed May 3, 2024
1 parent 4edfdb0 commit 4d92014
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion simulator/src/compose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl ComposeRunner {

{
for i in self.get_running_nodes_list()? {
let index = usize::from_str(&i[5..6])?;
let index = i.split("-").collect::<Vec<&str>>().last().unwrap().parse::<usize>()?;
let info = self.node_info(index)?;
if info.delay > 0 {
self.set_delay(index, info.delay)?;
Expand Down
4 changes: 2 additions & 2 deletions simulator/src/simulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ impl Simulator {
ips.push(ip)
}

self.add_grafana()?;
self.add_prometheus(ips)?;
//self.add_grafana()?;
//self.add_prometheus(ips)?;

self.finalize()?;
Ok(())
Expand Down

0 comments on commit 4d92014

Please sign in to comment.