Merge pull request #6355 from afbjorklund/selecting-space

Remove stray space from driver selection message
pull/6362/head
Medya Ghazizadeh 2020-01-20 18:59:01 -08:00 committed by GitHub
commit 20e6c5c579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -586,11 +586,11 @@ func selectDriver(existing *cfg.MachineConfig) string {
pick, alts := driver.Choose(name, options)
exp := ""
if pick.Priority == registry.Experimental {
exp = "experimental"
exp = "experimental "
}
if name != "" {
out.T(out.Sparkle, `Selecting {{.experimental}} '{{.driver}}' driver from user configuration (alternates: {{.alternates}})`, out.V{"experimental": exp, "driver": name, "alternates": alts})
out.T(out.Sparkle, `Selecting {{.experimental}}'{{.driver}}' driver from user configuration (alternates: {{.alternates}})`, out.V{"experimental": exp, "driver": name, "alternates": alts})
return name
}