fix azure artifact so it works with managed images as well as VHDs

This commit is contained in:
Megan Marsh 2018-10-09 15:43:23 -07:00
parent 895e7fe111
commit 5dc4ff95da
1 changed files with 4 additions and 1 deletions

View File

@ -133,7 +133,10 @@ func (*Artifact) Files() []string {
}
func (a *Artifact) Id() string {
if a.OSDiskUri != "" {
return a.OSDiskUri
}
return a.ManagedImageId
}
func (a *Artifact) State(name string) interface{} {