mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
command/inspect: change logging to be %#v for better values
This commit is contained in:
parent
b11004b9f6
commit
f56f1740fd
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ func (c Command) Run(env packer.Environment, args []string) int {
|
|||
}
|
||||
|
||||
// Read the file into a byte array so that we can parse the template
|
||||
log.Printf("Reading template: %s", args[0])
|
||||
log.Printf("Reading template: %#v", args[0])
|
||||
tpl, err := packer.ParseTemplateFile(args[0])
|
||||
if err != nil {
|
||||
env.Ui().Error(fmt.Sprintf("Failed to parse template: %s", err))
|
||||
|
|
|
|||
Loading…
Reference in a new issue