imrove advice when driver was auto-selected

pull/8715/head
Medya Gh 2020-07-13 13:17:51 -07:00
parent 3af9872296
commit 29c99cc221
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ func runStart(cmd *cobra.Command, args []string) {
starter, err := provisionWithDriver(cmd, ds, existing)
if err != nil {
node.MaybeExitWithAdvice(err)
machine.MaybeDisplayAdvice(err, viper.GetString("driver"))
machine.MaybeDisplayAdvice(err, existing.Driver)
if specified {
// If the user specified a driver, don't fallback to anything else
exit.WithError("error provisioning host", err)