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

This commit is contained in:
Megan Marsh
2018-10-10 10:04:11 -07:00
parent 895e7fe111
commit 5dc4ff95da
+4 -1
View File
@@ -133,7 +133,10 @@ func (*Artifact) Files() []string {
}
func (a *Artifact) Id() string {
return a.OSDiskUri
if a.OSDiskUri != "" {
return a.OSDiskUri
}
return a.ManagedImageId
}
func (a *Artifact) State(name string) interface{} {