Update command/init.go

better warning

Co-authored-by: Sylvia Moss <moss@hashicorp.com>
This commit is contained in:
Adrien Delorme 2021-03-18 16:43:29 +01:00 committed by GitHub
parent 15f4b93cd2
commit 1926fd6176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -123,9 +123,9 @@ func (c *InitCommand) RunContext(buildCtx context.Context, cla *InitArgs) int {
if err != nil {
if pluginRequirement.Implicit {
msg := fmt.Sprintf(`
Warning, at least one component used in your config file(s) has moved out of
Warning! At least one component used in your config file(s) has moved out of
Packer into the %q plugin.
For that reason Packer init tried to install the latest version of the %s
For that reason, Packer init tried to install the latest version of the %s
plugin. Unfortunately, this failed :
%s`,
pluginRequirement.Identifier,