From 593363c5be2caffce5356325e3ab98aa8a7a676f Mon Sep 17 00:00:00 2001 From: Amrita Dutta Date: Tue, 6 Nov 2018 19:23:15 +0000 Subject: [PATCH] fix typo in last commit --- builder/azure/arm/artifact.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/azure/arm/artifact.go b/builder/azure/arm/artifact.go index d45c339ea..b3a69b624 100644 --- a/builder/azure/arm/artifact.go +++ b/builder/azure/arm/artifact.go @@ -33,7 +33,7 @@ type Artifact struct { ManagedImageName string ManagedImageLocation string ManagedImageId string - ManagedImageosDiskSnapshotName string + ManagedImageOSDiskSnapshotName string ManagedImageDataDiskSnapshotPrefix string // Additional Disks @@ -47,7 +47,7 @@ func NewManagedImageArtifact(osType, resourceGroup, name, location, id, osDiskSn ManagedImageLocation: location, ManagedImageId: id, OSType: osType, - ManagedImageosDiskSnapshotName: osDiskSnapshotName, + ManagedImageOSDiskSnapshotName: osDiskSnapshotName, ManagedImageDataDiskSnapshotPrefix: osDiskSnapshotPrefix, }, nil } @@ -129,7 +129,7 @@ func (a *Artifact) isManagedImage() bool { } func (a *Artifact) osDiskSnapshot() bool { - return a.ManagedImageosDiskSnapshotName != "" + return a.ManagedImageOSDiskSnapshotName != "" } func (a *Artifact) dataDiskSnapshot() bool { @@ -171,7 +171,7 @@ func (a *Artifact) String() string { buf.WriteString(fmt.Sprintf("ManagedImageId: %s\n", a.ManagedImageId)) buf.WriteString(fmt.Sprintf("ManagedImageLocation: %s\n", a.ManagedImageLocation)) if a.osDiskSnapshot() { - buf.WriteString(fmt.Sprintf("ManagedImageosDiskSnapshotName: %s\n", a.ManagedImageosDiskSnapshotName)) + buf.WriteString(fmt.Sprintf("ManagedImageOSDiskSnapshotName: %s\n", a.ManagedImageOSDiskSnapshotName)) } if a.dataDiskSnapshot() { buf.WriteString(fmt.Sprintf("ManagedImageDataDiskSnapshotPrefix: %s\n", a.ManagedImageDataDiskSnapshotPrefix))