mirror of https://github.com/docker/docs.git
Moves the 'stopping machine' log below error log
Fixes #1032. Signed-off-by: Rick Wieman <git@rickw.nl>
This commit is contained in:
parent
4047c97679
commit
2b269c0b66
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue