Skip to content

Commit

Permalink
Changed Function Call
Browse files Browse the repository at this point in the history
  • Loading branch information
thefisk committed Jul 28, 2022
1 parent 117cdd4 commit 19cb84f
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -302,7 +302,10 @@ func resourceOrchestratedVirtualMachineScaleSetCreate(d *pluginsdk.ResourceData,

sourceImageReferenceRaw := d.Get("source_image_reference").([]interface{})
sourceImageId := d.Get("source_image_id").(string)
sourceImageReference := expandOrchestratedSourceImageReference(sourceImageReferenceRaw, sourceImageId)
sourceImageReference, err := expandSourceImageReference(sourceImageReferenceRaw, sourceImageId)
if err != nil {
return err
}
virtualMachineProfile.StorageProfile.ImageReference = sourceImageReference

osType := compute.OperatingSystemTypesWindows
Expand Down

0 comments on commit 19cb84f

Please sign in to comment.