ignore walk error

This commit is contained in:
Adrien Delorme 2020-10-02 10:53:17 +02:00
parent fcf16315a3
commit ebb1cb406c
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ func (cfg *PackerConfig) Initialize() hcl.Diagnostics {
if !value.IsWhollyKnown() && value.IsNull() && !value.Type().Equals(cty.String) {
continue
}
cty.Walk(value, func(_ cty.Path, nested cty.Value) (bool, error) {
_ = cty.Walk(value, func(_ cty.Path, nested cty.Value) (bool, error) {
if nested.IsWhollyKnown() && !nested.IsNull() && nested.Type().Equals(cty.String) {
packer.LogSecretFilter.Set(nested.AsString())
}