Skip to content

Commit

Permalink
Correct filter for disk type
Browse files Browse the repository at this point in the history
Issue: #83
  • Loading branch information
dtretyakov committed Feb 2, 2018
1 parent 69e5331 commit 4c2f43e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function ArmImagesViewModel($, ko, dialog, config) {
if (!value) return;

var storageTypes = [{id: "Standard_LRS", text: "HDD"}];
if (!/^(Basic|Standard)_A\d+$/i.test(value)) {
if (/^(Basic|Standard)_.+s.*$/i.test(value)) {
storageTypes.push({id: "Premium_LRS", text: "SSD"});
}

Expand Down

0 comments on commit 4c2f43e

Please sign in to comment.