Update command/init.go

better warning

Co-authored-by: Sylvia Moss <moss@hashicorp.com>
azr_implicit_requried_plugin_2
Adrien Delorme 5 years ago committed by GitHub
parent 15f4b93cd2
commit 1926fd6176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save