Skip to content

Commit

Permalink
[DPS] Resolves issue where usage of --login with connection string …
Browse files Browse the repository at this point in the history
…still required `az login`. (#473)
  • Loading branch information
digimaun authored Dec 13, 2021
1 parent 8e07617 commit 9d2f677
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 9 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
Release History
===============

0.12.1
+++++++++++++++

**IoT DPS updates**

* Resolves issue where usage of `--login` with connection string still required `az login`.


0.12.0
+++++++++++++++

Expand All @@ -16,7 +24,7 @@ Release History
- Destination (az iot central export destination)
- Export (az iot central export)

** General Updates **
**General Updates**

* The IoT extension officially supports Python 3.10.

Expand Down
6 changes: 1 addition & 5 deletions azext_iot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@

from azure.cli.core import AzCommandsLoader
from azure.cli.core.commands import CliCommandType
from azext_iot._factory import iot_service_provisioning_factory
from azext_iot.constants import VERSION
import azext_iot._help # noqa: F401
from azext_iot.product.command_map import load_product_commands


iothub_ops = CliCommandType(operations_tmpl="azext_iot.operations.hub#{}")
iotdps_ops = CliCommandType(
operations_tmpl="azext_iot.operations.dps#{}",
client_factory=iot_service_provisioning_factory,
)
iotdps_ops = CliCommandType(operations_tmpl="azext_iot.operations.dps#{}")


class IoTExtCommandsLoader(AzCommandsLoader):
Expand Down
2 changes: 1 addition & 1 deletion azext_iot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import os

VERSION = "0.12.0"
VERSION = "0.12.1"
EXTENSION_NAME = "azure-iot"
EXTENSION_ROOT = os.path.dirname(os.path.abspath(__file__))
EXTENSION_CONFIG_ROOT_KEY = "iotext"
Expand Down

0 comments on commit 9d2f677

Please sign in to comment.