We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cddb5f9 commit 4c16f1aCopy full SHA for 4c16f1a
src/azure-cli/azure/cli/command_modules/acs/azurecontainerstorage/_helpers.py
@@ -414,7 +414,7 @@ def get_desired_resource_value_args(
414
# Returns -1 if there is a problem with parsing the vm_size.
415
def get_cores_from_sku(vm_size):
416
cpu_value = -1
417
- pattern = r'(\d+)([a-z])*(?=_v(\d+)[^_]*$|$)'
+ pattern = r'([a-z])+(\d+)[a-z]*(?=_v(\d+)[^_]*$|$)'
418
match = re.search(pattern, vm_size.lower())
419
if match:
420
series_prefix = match.group(1)
0 commit comments