Apply gofmt

This commit is contained in:
jmajoor 2018-02-23 18:43:55 -08:00
parent efcdbfeab9
commit 47947bd0f6
2 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ func TestAdditionalDiskArtifactString(t *testing.T) {
}, },
}, },
DataDisks: []CaptureDisk{ DataDisks: []CaptureDisk{
CaptureDisk{ {
Image: CaptureUri{ Image: CaptureUri{
Uri: "https://storage.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-datadisk-1.4085bb15-3644-4641-b9cd-f575918640b4.vhd", Uri: "https://storage.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-datadisk-1.4085bb15-3644-4641-b9cd-f575918640b4.vhd",
}, },
@ -188,7 +188,7 @@ func TestAdditionalDiskArtifactProperties(t *testing.T) {
}, },
}, },
DataDisks: []CaptureDisk{ DataDisks: []CaptureDisk{
CaptureDisk{ {
Image: CaptureUri{ Image: CaptureUri{
Uri: "https://storage.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-datadisk-1.4085bb15-3644-4641-b9cd-f575918640b4.vhd", Uri: "https://storage.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-datadisk-1.4085bb15-3644-4641-b9cd-f575918640b4.vhd",
}, },

View File

@ -117,7 +117,7 @@ func createVirtualMachineWithDataDisksFromUri(vhdUri string) compute.VirtualMach
}, },
}, },
DataDisks: &[]compute.DataDisk{ DataDisks: &[]compute.DataDisk{
compute.DataDisk{ {
Vhd: &compute.VirtualHardDisk{ Vhd: &compute.VirtualHardDisk{
URI: &vhdUri, URI: &vhdUri,
}, },