diff --git a/azext_iot/operations/_mqtt.py b/azext_iot/operations/_mqtt.py index 779c94336..0a8911f07 100644 --- a/azext_iot/operations/_mqtt.py +++ b/azext_iot/operations/_mqtt.py @@ -56,7 +56,7 @@ def __init__(self, target, device_id, properties=None, sas_duration=3600): def on_connect(self, client, userdata, flags, rc): six.print_( - "Connected to target IoT Hub MQTT broker with result: {}".format( + "Connected to target IoT Hub with result: {}".format( connection_result[rc] ) )