Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Nov 14, 2024
1 parent dcdb88f commit 1f59035
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/cloud/aws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ impl Provisioner for AWSProvisioner {
} else {
warn!("No status found for exit node, creating new instance");
// TODO: this should be handled by the controller logic
return self.create_exit_node(auth, exit_node).await.map(|(status, _)| status);
return self
.create_exit_node(auth, exit_node)
.await
.map(|(status, _)| status);
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/cloud/linode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ impl Provisioner for LinodeProvisioner {
Ok(status)
} else {
warn!("No instance status found, creating new instance");
return self.create_exit_node(auth.clone(), exit_node).await.map(|(status, _)| status);
return self
.create_exit_node(auth.clone(), exit_node)
.await
.map(|(status, _)| status);
}
}
}

0 comments on commit 1f59035

Please sign in to comment.