From 1f590354c6481983a8edfa03e8565bcfe205dc8d Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Thu, 14 Nov 2024 18:09:02 +0700 Subject: [PATCH] cargo fmt --- src/cloud/aws.rs | 5 ++++- src/cloud/linode.rs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/cloud/aws.rs b/src/cloud/aws.rs index b3014ca..fa50c8d 100644 --- a/src/cloud/aws.rs +++ b/src/cloud/aws.rs @@ -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); } } diff --git a/src/cloud/linode.rs b/src/cloud/linode.rs index 594815e..627c3fe 100644 --- a/src/cloud/linode.rs +++ b/src/cloud/linode.rs @@ -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); } } }