Skip to content

Commit 1f59035

Browse files
committed
cargo fmt
1 parent dcdb88f commit 1f59035

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/cloud/aws.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ impl Provisioner for AWSProvisioner {
270270
} else {
271271
warn!("No status found for exit node, creating new instance");
272272
// TODO: this should be handled by the controller logic
273-
return self.create_exit_node(auth, exit_node).await.map(|(status, _)| status);
273+
return self
274+
.create_exit_node(auth, exit_node)
275+
.await
276+
.map(|(status, _)| status);
274277
}
275278
}
276279

src/cloud/linode.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ impl Provisioner for LinodeProvisioner {
179179
Ok(status)
180180
} else {
181181
warn!("No instance status found, creating new instance");
182-
return self.create_exit_node(auth.clone(), exit_node).await.map(|(status, _)| status);
182+
return self
183+
.create_exit_node(auth.clone(), exit_node)
184+
.await
185+
.map(|(status, _)| status);
183186
}
184187
}
185188
}

0 commit comments

Comments
 (0)