Logs for Kill
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
80518f988a
commit
9884a5e2ef
|
@ -408,6 +408,10 @@ func (d *Driver) Restart() error {
|
||||||
return d.client.RestartInstance(d)
|
return d.client.RestartInstance(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (d *Driver) Kill() error {
|
||||||
|
return d.Stop()
|
||||||
|
}
|
||||||
|
|
||||||
func (d *Driver) Remove() error {
|
func (d *Driver) Remove() error {
|
||||||
log.Debug("deleting instance...", map[string]string{"MachineId": d.MachineId})
|
log.Debug("deleting instance...", map[string]string{"MachineId": d.MachineId})
|
||||||
log.Info("Deleting OpenStack instance...")
|
log.Info("Deleting OpenStack instance...")
|
||||||
|
@ -425,10 +429,6 @@ func (d *Driver) Remove() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Driver) Kill() error {
|
|
||||||
return d.Stop()
|
|
||||||
}
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
errorMandatoryEnvOrOption string = "%s must be specified either using the environment variable %s or the CLI option %s"
|
errorMandatoryEnvOrOption string = "%s must be specified either using the environment variable %s or the CLI option %s"
|
||||||
errorMandatoryOption string = "%s must be specified using the CLI option %s"
|
errorMandatoryOption string = "%s must be specified using the CLI option %s"
|
||||||
|
|
Loading…
Reference in New Issue