ssh: Capitalize error and connection strings (#19675)
Another tiny PR for the sake of consistency :) Release Notes: - N/A
This commit is contained in:
parent
3c6a505166
commit
b5aea548a8
1 changed files with 4 additions and 4 deletions
|
@ -527,7 +527,7 @@ impl SshClientDelegate {
|
||||||
.await
|
.await
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
anyhow!(
|
anyhow!(
|
||||||
"failed to get remote server binary download url (os: {}, arch: {}): {}",
|
"Failed to get remote server binary download url (os: {}, arch: {}): {}",
|
||||||
platform.os,
|
platform.os,
|
||||||
platform.arch,
|
platform.arch,
|
||||||
e
|
e
|
||||||
|
@ -542,7 +542,7 @@ impl SshClientDelegate {
|
||||||
version,
|
version,
|
||||||
))
|
))
|
||||||
} else {
|
} else {
|
||||||
self.update_status(Some("checking for latest version of remote server"), cx);
|
self.update_status(Some("Checking for latest version of remote server"), cx);
|
||||||
let binary_path = AutoUpdater::get_latest_remote_server_release(
|
let binary_path = AutoUpdater::get_latest_remote_server_release(
|
||||||
platform.os,
|
platform.os,
|
||||||
platform.arch,
|
platform.arch,
|
||||||
|
@ -552,7 +552,7 @@ impl SshClientDelegate {
|
||||||
.await
|
.await
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
anyhow!(
|
anyhow!(
|
||||||
"failed to download remote server binary (os: {}, arch: {}): {}",
|
"Failed to download remote server binary (os: {}, arch: {}): {}",
|
||||||
platform.os,
|
platform.os,
|
||||||
platform.arch,
|
platform.arch,
|
||||||
e
|
e
|
||||||
|
@ -579,7 +579,7 @@ impl SshClientDelegate {
|
||||||
.output()
|
.output()
|
||||||
.await?;
|
.await?;
|
||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
Err(anyhow!("failed to run command: {:?}", command))?;
|
Err(anyhow!("Failed to run command: {:?}", command))?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue