fix azure artifact so it works with managed images as well as VHDs
This commit is contained in:
parent
895e7fe111
commit
5dc4ff95da
|
@ -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{} {
|
||||
|
|
Loading…
Reference in New Issue