Skip to content

Commit

Permalink
style: added space between newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjiang2378 committed Feb 20, 2024
1 parent 102e8ec commit 542e8db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hydro_deploy/core/src/azure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@ impl LaunchedSSHHost for LaunchedVirtualMachine {
fn get_external_ip(&self) -> Option<String> {
self.external_ip.clone()
}

fn get_internal_ip(&self) -> String {
self.internal_ip.clone()
}

fn get_cloud_provider(&self) -> String {
"Azure".to_string()
}

fn resource_result(&self) -> &Arc<ResourceResult> {
&self.resource_result
}

fn ssh_user(&self) -> &str {
self.user.as_str()
}
Expand Down
4 changes: 4 additions & 0 deletions hydro_deploy/core/src/gcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,19 @@ impl LaunchedSSHHost for LaunchedComputeEngine {
fn get_external_ip(&self) -> Option<String> {
self.external_ip.clone()
}

fn get_internal_ip(&self) -> String {
self.internal_ip.clone()
}

fn get_cloud_provider(&self) -> String {
"GCP".to_string()
}

fn resource_result(&self) -> &Arc<ResourceResult> {
&self.resource_result
}

fn ssh_user(&self) -> &str {
self.user.as_str()
}
Expand Down

0 comments on commit 542e8db

Please sign in to comment.