[lxd] implement artifact detroy

This commit is contained in:
Chris Lundquist 2016-08-07 03:47:52 +00:00 committed by Megan Marsh
parent 68bb72380a
commit acae8fc2f9
1 changed files with 2 additions and 3 deletions

View File

@ -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
}