azure: correct function name spelling

This commit is contained in:
Christopher Boumenot 2018-03-03 08:53:10 +00:00
parent 043a57be21
commit e0ac07f5db
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ func storageUriToTemplateUri(su *url.URL) (*url.URL, error) {
return url.Parse(strings.Replace(su.String(), filename, templateFilename, 1)) return url.Parse(strings.Replace(su.String(), filename, templateFilename, 1))
} }
func (a *Artifact) isMangedImage() bool { func (a *Artifact) isManagedImage() bool {
return a.ManagedImageResourceGroupName != "" return a.ManagedImageResourceGroupName != ""
} }
@ -142,7 +142,7 @@ func (a *Artifact) String() string {
var buf bytes.Buffer var buf bytes.Buffer
buf.WriteString(fmt.Sprintf("%s:\n\n", a.BuilderId())) buf.WriteString(fmt.Sprintf("%s:\n\n", a.BuilderId()))
if a.isMangedImage() { if a.isManagedImage() {
buf.WriteString(fmt.Sprintf("ManagedImageResourceGroupName: %s\n", a.ManagedImageResourceGroupName)) buf.WriteString(fmt.Sprintf("ManagedImageResourceGroupName: %s\n", a.ManagedImageResourceGroupName))
buf.WriteString(fmt.Sprintf("ManagedImageName: %s\n", a.ManagedImageName)) buf.WriteString(fmt.Sprintf("ManagedImageName: %s\n", a.ManagedImageName))
buf.WriteString(fmt.Sprintf("ManagedImageLocation: %s\n", a.ManagedImageLocation)) buf.WriteString(fmt.Sprintf("ManagedImageLocation: %s\n", a.ManagedImageLocation))