Skip to content

Commit

Permalink
add another warehouse size alias (#1946)
Browse files Browse the repository at this point in the history
fixes #1873
  • Loading branch information
sfc-gh-pbosak authored Jul 12, 2023
1 parent 067f3a2 commit daf2cc2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/sdk/warehouses.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ func ToWarehouseSize(s string) (WarehouseSize, error) {
return WarehouseSizeLarge, nil
case "XLARGE", "X-LARGE":
return WarehouseSizeXLarge, nil
case "XXLARGE", "X2LARGE", "2X-LARGE":
case "XXLARGE", "X2LARGE", "2X-LARGE", "2XLARGE":
return WarehouseSizeXXLarge, nil
case "XXXLARGE", "X3LARGE", "3X-LARGE":
case "XXXLARGE", "X3LARGE", "3X-LARGE", "3XLARGE":
return WarehouseSizeXXXLarge, nil
case "X4LARGE", "4X-LARGE":
case "X4LARGE", "4X-LARGE", "4XLARGE":
return WarehouseSizeX4Large, nil
case "X5LARGE", "5X-LARGE":
case "X5LARGE", "5X-LARGE", "5XLARGE":
return WarehouseSizeX5Large, nil
case "X6LARGE", "6X-LARGE":
case "X6LARGE", "6X-LARGE", "6XLARGE":
return WarehouseSizeX6Large, nil
default:
return "", fmt.Errorf("invalid warehouse size: %s", s)
Expand Down

0 comments on commit daf2cc2

Please sign in to comment.