Merge pull request #5968 from boumenot/pr-azure-5759-spelling

azure: correct function name spelling
This commit is contained in:
SwampDragons 2018-03-05 16:16:34 -08:00 committed by GitHub
commit d403be1660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))
}
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))