mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-05 06:03:17 -04:00
Merge pull request #819 from klynton/patch-1
Update post-processor.html.markdown
This commit is contained in:
@@ -46,11 +46,11 @@ type PostProcessor interface {
|
||||
|
||||
The `Configure` method for each post-processor is called early in the
|
||||
build process to configure the post-processor. The configuration is passed
|
||||
in as a raw `interface{]`. The configure method is responsible for translating
|
||||
in as a raw `interface{}`. The configure method is responsible for translating
|
||||
this configuration into an internal structure, validating it, and returning
|
||||
any errors.
|
||||
|
||||
For decoding the `interface{]` into a meaningful structure, the
|
||||
For decoding the `interface{}` into a meaningful structure, the
|
||||
[mapstructure](https://github.com/mitchellh/mapstructure) library is
|
||||
recommended. Mapstructure will take an `interface{}` and decode it into an
|
||||
arbitrarily complex struct. If there are any errors, it generates very
|
||||
|
||||
Reference in New Issue
Block a user