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