diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-23 09:11:08 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-23 09:11:09 +0100 |
commit | 701fd47181464114a2d71937d33a2cad0b61d519 (patch) | |
tree | 4f61170238afe6459c5ced95120b5d10ab0acf6a /crates/core/tedge/src/cli/connect | |
parent | 507f80a4f7d555a7db0e2203eb93c06699642758 (diff) |
Make match more explicit
This patch makes the match arm more explicit, so we do not have the
"catch-it-all" feeling here.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core/tedge/src/cli/connect')
-rw-r--r-- | crates/core/tedge/src/cli/connect/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge/src/cli/connect/command.rs b/crates/core/tedge/src/cli/connect/command.rs index 2048d398..2a38a42e 100644 --- a/crates/core/tedge/src/cli/connect/command.rs +++ b/crates/core/tedge/src/cli/connect/command.rs @@ -79,7 +79,7 @@ impl Command for ConnectCommand { println!("Connection check to {} cloud is successful.\n", cloud); Ok(()) } - _ => { + Ok(DeviceStatus::Unknown) | Err(_) => { println!( "Connection check to {} cloud failed.\n", self.cloud.as_str() |