summaryrefslogtreecommitdiffstats
path: root/tedge
diff options
context:
space:
mode:
authorRina Fujino <18257209+rina23q@users.noreply.github.com>2021-10-15 17:08:02 +0200
committerGitHub <noreply@github.com>2021-10-15 17:08:02 +0200
commitbc3a1904a57adf3e43e804bcf9f7bc4f8de2c6ec (patch)
tree398d85d04350ecdd09a8eb4cdfbcdc5f4ec21666 /tedge
parent566dd193f25febc647eba6eafecb9698d8f787b3 (diff)
Add a missing print line (connection successful) in az connection check (#513)
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
Diffstat (limited to 'tedge')
-rw-r--r--tedge/src/cli/connect/command.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tedge/src/cli/connect/command.rs b/tedge/src/cli/connect/command.rs
index 0c8affb2..e68b2e54 100644
--- a/tedge/src/cli/connect/command.rs
+++ b/tedge/src/cli/connect/command.rs
@@ -363,6 +363,7 @@ fn check_device_status_azure(port: u16) -> Result<DeviceStatus, ConnectError> {
Ok(Event::Incoming(Packet::Publish(response))) => {
// We got a response
if response.topic.contains(REGISTRATION_OK) {
+ println!("Received expected response message, connection check is successful.");
return Ok(DeviceStatus::AlreadyExists);
} else {
break;