mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 09:40:17 -04:00
Merge pull request #5968 from boumenot/pr-azure-5759-spelling
azure: correct function name spelling
This commit is contained in:
commit
d403be1660
1 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ func storageUriToTemplateUri(su *url.URL) (*url.URL, error) {
|
|||
return url.Parse(strings.Replace(su.String(), filename, templateFilename, 1))
|
||||
}
|
||||
|
||||
func (a *Artifact) isMangedImage() bool {
|
||||
func (a *Artifact) isManagedImage() bool {
|
||||
return a.ManagedImageResourceGroupName != ""
|
||||
}
|
||||
|
||||
|
|
@ -142,7 +142,7 @@ func (a *Artifact) String() string {
|
|||
var buf bytes.Buffer
|
||||
|
||||
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("ManagedImageName: %s\n", a.ManagedImageName))
|
||||
buf.WriteString(fmt.Sprintf("ManagedImageLocation: %s\n", a.ManagedImageLocation))
|
||||
|
|
|
|||
Loading…
Reference in a new issue