The generic driver shouldn't support kill since stop is not supported

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-12-22 11:46:59 +01:00
parent 4bfd8ab4c1
commit 181a1d47b4
1 changed files with 1 additions and 4 deletions

View File

@ -171,8 +171,5 @@ func (d *Driver) Restart() error {
}
func (d *Driver) Kill() error {
log.Debug("Killing...")
_, err := drivers.RunSSHCommandFromDriver(d, "sudo shutdown -P now")
return err
return errors.New("generic driver does not support kill")
}