Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/load/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Release History
===============
1.4.1
++++++
* Move the `from azure.cli.core.util import run_az_cmd` to function scope to unblock users of existing features and most of the new features. Only the high scale download files feature requires this import, and it will be fixed in the next release.


1.4.0
++++++
* Add support for multi-region load test configuration. Multi-region load test configuration can be set using `--regionwise-engines` argument in 'az load test create' and 'az load test update' commands. Multi-region load test configuration set in YAML config file under key `regionalLoadTestConfig` will also be honoured.
Expand Down
2 changes: 1 addition & 1 deletion src/load/azext_load/data_plane/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
CLIInternalError,
)
from azure.mgmt.core.tools import is_valid_resource_id, parse_resource_id
from azure.cli.core.util import run_az_cmd
from knack.log import get_logger

from .models import IdentityType, AllowedFileTypes, AllowedTestTypes
Expand Down Expand Up @@ -181,6 +180,7 @@ def download_file(url, file_path):


def download_from_storage_container(sas_url, path):
from azure.cli.core.util import run_az_cmd
logger.debug("Downloading files from storage container")
cmd = ["az", "storage", "copy", "--source", sas_url, "--destination", path, "--recursive"]
logger.debug("Executing command: %s", cmd)
Expand Down
2 changes: 1 addition & 1 deletion src/load/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# HISTORY.rst entry.
VERSION = '1.4.0'
VERSION = '1.4.1'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading