Skip to content

Commit dafa923

Browse files
{SQL} Fix #13600: Add message for compute model check (#23433)
Fixes #13600
1 parent dcbebb2 commit dafa923

File tree

1 file changed

+4
-2
lines changed
  • src/azure-cli/azure/cli/command_modules/sql

1 file changed

+4
-2
lines changed

src/azure-cli/azure/cli/command_modules/sql/custom.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,14 @@ def _find_performance_level_capability(sku, supported_service_level_objectives,
338338
raise CLIError(
339339
"Could not find sku in tier '{tier}' with family '{family}', capacity {capacity}."
340340
" Supported families & capacities for '{tier}' are: {skus}. Please specify one of these"
341-
" supported combinations of family and capacity.".format(
341+
" supported combinations of family and capacity."
342+
" And ensure that the sku supports '{compute_model}' compute model.".format(
342343
tier=sku.tier,
343344
family=sku.family,
344345
capacity=sku.capacity,
345346
skus=[(slo.sku.family, slo.sku.capacity)
346-
for slo in supported_service_level_objectives]
347+
for slo in supported_service_level_objectives],
348+
compute_model=compute_model
347349
))
348350
elif sku.family:
349351
# Error - cannot find based on family alone.

0 commit comments

Comments
 (0)