fix typo (add missing ')]' )
This commit is contained in:
parent
0589f57d4d
commit
1314d69b51
|
@ -147,7 +147,7 @@
|
||||||
"createOption": "Empty",
|
"createOption": "Empty",
|
||||||
"diskSizeGB": 32,
|
"diskSizeGB": 32,
|
||||||
"lun": 0,
|
"lun": 0,
|
||||||
"name": "[concat(parameters('dataDiskName'),'-1'",
|
"name": "[concat(parameters('dataDiskName'),'-1')]",
|
||||||
"vhd": {
|
"vhd": {
|
||||||
"uri": "[concat(parameters('storageAccountBlobEndpoint'),variables('vmStorageAccountContainerName'),parameters('dataDiskName'), '-1','.vhd')]"
|
"uri": "[concat(parameters('storageAccountBlobEndpoint'),variables('vmStorageAccountContainerName'),parameters('dataDiskName'), '-1','.vhd')]"
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
"managedDisk": {
|
"managedDisk": {
|
||||||
"storageAccountType": "Standard_LRS"
|
"storageAccountType": "Standard_LRS"
|
||||||
},
|
},
|
||||||
"name": "[concat(parameters('dataDiskName'),'-1'"
|
"name": "[concat(parameters('dataDiskName'),'-1')]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"imageReference": {
|
"imageReference": {
|
||||||
|
|
|
@ -244,7 +244,7 @@ func (s *TemplateBuilder) SetAdditionalDisks(diskSizeGB []int32, dataDiskname st
|
||||||
dataDisks[i].DiskSizeGB = to.Int32Ptr(additionalSize)
|
dataDisks[i].DiskSizeGB = to.Int32Ptr(additionalSize)
|
||||||
dataDisks[i].Lun = to.IntPtr(i)
|
dataDisks[i].Lun = to.IntPtr(i)
|
||||||
// dataDisks[i].Name = to.StringPtr(fmt.Sprintf("%s-%d", dataDiskname, i+1))
|
// dataDisks[i].Name = to.StringPtr(fmt.Sprintf("%s-%d", dataDiskname, i+1))
|
||||||
dataDisks[i].Name = to.StringPtr(fmt.Sprintf("[concat(parameters('dataDiskName'),'-%d'", i+1))
|
dataDisks[i].Name = to.StringPtr(fmt.Sprintf("[concat(parameters('dataDiskName'),'-%d')]", i+1))
|
||||||
dataDisks[i].CreateOption = "Empty"
|
dataDisks[i].CreateOption = "Empty"
|
||||||
dataDisks[i].Caching = cachingType
|
dataDisks[i].Caching = cachingType
|
||||||
if isManaged {
|
if isManaged {
|
||||||
|
|
Loading…
Reference in New Issue