[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 {
|
||||
//return os.RemoveAll(a.dir)
|
||||
//TODO
|
||||
return nil
|
||||
_, err := LXDCommand("image", "delete", a.id)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue