Commit f56f1740 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/inspect: change logging to be %#v for better values

parent b11004b9
...@@ -33,7 +33,7 @@ func (c Command) Run(env packer.Environment, args []string) int { ...@@ -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 // 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]) tpl, err := packer.ParseTemplateFile(args[0])
if err != nil { if err != nil {
env.Ui().Error(fmt.Sprintf("Failed to parse template: %s", err)) env.Ui().Error(fmt.Sprintf("Failed to parse template: %s", err))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment