mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-25 11:56:50 +00:00
Implement ImportKey
This commit is contained in:
+2
-5
@@ -384,12 +384,9 @@ impl System {
|
||||
}
|
||||
}
|
||||
if errors.len() == 1 {
|
||||
return Err(Error::Message(errors[0].1.to_string()));
|
||||
Err(Error::Message(errors[0].1.to_string()))
|
||||
} else {
|
||||
return Err(Error::Message(format!(
|
||||
"Could not connect to specified peers. Errors: {:?}",
|
||||
errors
|
||||
)));
|
||||
Err(Error::Message(format!("{:?}", errors)))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user