Skip to content

Commit

Permalink
Removed repetitive statement from HCP debug logs (#12552)
Browse files Browse the repository at this point in the history
* Remove repetitive log statement

The log being removed is duplicated each time evalContext is
called, which seems like an unneeded debug log.
  • Loading branch information
Wilken Rivera authored Aug 8, 2023
1 parent 168e464 commit 9ccec0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hcl2template/types.packer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ func (cfg *PackerConfig) EvalContext(ctx BlockContext, variables map[string]cty.

iterID, ok := cfg.HCPVars["iterationID"]
if ok {
log.Printf("iterationID set: %q", iterID)

ectx.Variables[packerAccessor] = cty.ObjectVal(map[string]cty.Value{
"version": cty.StringVal(cfg.CorePackerVersionString),
"iterationID": iterID,
Expand Down

0 comments on commit 9ccec0d

Please sign in to comment.