Skip to content

Commit aa35990

Browse files
bgkleinxingwu1
authored andcommitted
Update variables to be named better (#107)
1 parent ac0d3ba commit aa35990

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

batch-cli-extensions/HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Release History
44
===============
55

6+
3.0.4 (2019-03-21)
7+
------------------
8+
9+
* Update supported version warning to be accurate
10+
611
3.0.3 (2019-03-06)
712
------------------
813

batch-cli-extensions/azext_batch/commands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414

1515
logger = get_logger(__name__)
16-
SUPPORTED_BATCH_VERSION = "6.0"
17-
SUPPORTED_BMGMT_VERSION = "6.0"
18-
SUPPORTED_BATCH_EXT_VERSION = "5.0"
16+
MINIMUM_UNSUPPORTED_BATCH_VERSION = "6.1"
17+
MINIMUM_UNSUPPORTED_BMGMT_VERSION = "6.1"
18+
MINIMUM_UNSUPPORTED_BATCH_EXT_VERSION = "5.1"
1919

2020

2121
def confirm_version(current, supported, package):
@@ -24,9 +24,9 @@ def confirm_version(current, supported, package):
2424
"%s up to version %s. The current version %s has not been "
2525
"tested for compatibility.", package, supported, current)
2626

27-
confirm_version(batch_version, SUPPORTED_BATCH_VERSION, "Azure Batch")
28-
confirm_version(batch_mgmt_version, SUPPORTED_BMGMT_VERSION, "Azure Batch Management")
29-
confirm_version(batch_ext_version, SUPPORTED_BATCH_EXT_VERSION, "Azure Batch Extensions")
27+
confirm_version(batch_version, MINIMUM_UNSUPPORTED_BATCH_VERSION, "Azure Batch")
28+
confirm_version(batch_mgmt_version, MINIMUM_UNSUPPORTED_BMGMT_VERSION, "Azure Batch Management")
29+
confirm_version(batch_ext_version, MINIMUM_UNSUPPORTED_BATCH_EXT_VERSION, "Azure Batch Extensions")
3030

3131

3232
def load_command_table(self, _):

batch-cli-extensions/azext_batch/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
VERSION = "3.0.3"
6+
VERSION = "3.0.4"

0 commit comments

Comments
 (0)