[lxd] implement artifact detroy
This commit is contained in:
parent
68bb72380a
commit
acae8fc2f9
|
@ -29,7 +29,6 @@ func (a *Artifact) State(name string) interface{} {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Artifact) Destroy() error {
|
func (a *Artifact) Destroy() error {
|
||||||
//return os.RemoveAll(a.dir)
|
_, err := LXDCommand("image", "delete", a.id)
|
||||||
//TODO
|
return err
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue