Skip to content

Commit

Permalink
Add Config log output for post-processor
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Duffield <[email protected]>
  • Loading branch information
tduffield committed Jan 28, 2021
1 parent 7338c2b commit f0a89ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions post-processor/ankaregistry/post-processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package ankaregistry
import (
"context"
"fmt"
"log"

"github.com/hashicorp/hcl/v2/hcldec"
"github.com/hashicorp/packer/packer-plugin-sdk/common"
Expand Down Expand Up @@ -57,6 +58,8 @@ func (p *PostProcessor) Configure(raws ...interface{}) error {
return fmt.Errorf("You must specify a valid tag for your Veertu Anka VM (e.g. 'latest')")
}

log.Printf("%+v\n", p.config)

return nil
}

Expand Down

0 comments on commit f0a89ce

Please sign in to comment.