Moves the 'stopping machine' log below error log

Fixes #1032.

Signed-off-by: Rick Wieman <git@rickw.nl>
This commit is contained in:
Rick Wieman 2015-04-21 13:12:40 +02:00
parent 4047c97679
commit 2b269c0b66
1 changed files with 2 additions and 2 deletions

View File

@ -50,13 +50,13 @@ func (provisioner *Boot2DockerProvisioner) Service(name string, action pkgaction
}
func (provisioner *Boot2DockerProvisioner) upgradeIso() error {
log.Infof("Stopping machine to do the upgrade...")
switch provisioner.Driver.DriverName() {
case "vmwarefusion", "vmwarevsphere":
return errors.New("Upgrade functionality is currently not supported for these providers, as they use a custom ISO.")
}
log.Info("Stopping machine to do the upgrade...")
if err := provisioner.Driver.Stop(); err != nil {
return err
}