Fixed SSH key list showing {hostname} at {username} instead of {username} at {hostname}

This commit is contained in:
veeso
2022-06-09 15:08:02 +02:00
parent 0057a657d2
commit 80dea3f71a

View File

@@ -126,7 +126,7 @@ impl SetupActivity {
.iter_ssh_keys()
.map(|x| {
let (addr, username, _) = self.config().get_ssh_key(x).ok().unwrap().unwrap();
format!("{} at {}", addr, username)
format!("{} at {}", username, addr)
})
.collect();
assert!(self