From 9b41474ab5a668d867bbfffcfdb86df279956c99 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 17 Mar 2021 10:59:55 +0100 Subject: [PATCH] better comments --- hcl2template/types.required_plugins.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hcl2template/types.required_plugins.go b/hcl2template/types.required_plugins.go index 4acfc9899..b83dd145a 100644 --- a/hcl2template/types.required_plugins.go +++ b/hcl2template/types.required_plugins.go @@ -119,10 +119,11 @@ func (cfg *PackerConfig) decodeImplicitRequiredPluginsBlock(k ComponentKind, blo for _, req := range cfg.Packer.RequiredPlugins { if _, found := req.RequiredPlugins[redirectAddr.Type]; found { - // This could happen if a plugin was forked. For example, I created - // and am requiring the github.com/azr/happycloud plugin and am - // using the `happycloud-uploader` pp component from it. In that - // case, we won't implicitly import any `happycloud` plugin. + // This could happen if a plugin was forked. For example, I forked + // the github.com/hashicorp/happycloud plugin into + // github.com/azr/happycloud plugin that is requried; and am using + // the `happycloud-uploader` pp component from it. In that case, we + // won't implicitly import any other `happycloud` plugin. return nil } }