Skip to content
Merged
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
6 changes: 4 additions & 2 deletions src/azure-cli/azure/cli/command_modules/sql/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,14 @@ def _find_performance_level_capability(sku, supported_service_level_objectives,
raise CLIError(
"Could not find sku in tier '{tier}' with family '{family}', capacity {capacity}."
" Supported families & capacities for '{tier}' are: {skus}. Please specify one of these"
" supported combinations of family and capacity.".format(
" supported combinations of family and capacity."
" And ensure that the sku supports '{compute_model}' compute model.".format(
tier=sku.tier,
family=sku.family,
capacity=sku.capacity,
skus=[(slo.sku.family, slo.sku.capacity)
for slo in supported_service_level_objectives]
for slo in supported_service_level_objectives],
compute_model=compute_model
))
elif sku.family:
# Error - cannot find based on family alone.
Expand Down