Skip to content

Commit

Permalink
Update pkg/providers/instance/instance.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Leites <[email protected]>
  • Loading branch information
Bryce-Soghigian and tallaxes authored Dec 1, 2023
1 parent 2a12558 commit a5a3f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func isSKUNotAvailable(err error) bool {

func (p *Provider) handleResponseErrors(ctx context.Context, instanceType *corecloudprovider.InstanceType, zone, capacityType string, err error) error {
if sdkerrors.SKUFamilyQuotaHasBeenReached(err) {
// Subscription quota has reached for this vm sku, mark the instance type as unavailable in all zones available to the offering
// Subscription quota has been reached for this VM SKU, mark the instance type as unavailable in all zones available to the offering
// This will also update the TTL for an existing offering in the cache that is already unavailable

logging.FromContext(ctx).Error(err)
Expand Down

0 comments on commit a5a3f52

Please sign in to comment.