Fix generateStorageAccountName

The storageAccountName was used instead of the sanitizedStorageAccountName.
This commit is contained in:
Duncan Godwin 2017-01-11 16:47:40 +00:00 committed by Andrea Turli
parent cf256fb48b
commit 15193d0349
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ public class CreateResourceGroupThenCreateNodes extends CreateNodesWithGroupEnco
}
if (nameLength > 24) {
sanitizedStorageAccountName = shorten(storageAccountName, random);
sanitizedStorageAccountName = shorten(sanitizedStorageAccountName, random);
}
return sanitizedStorageAccountName;
}