mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-24 10:21:20 -05:00
17 lines
302 B
Go
17 lines
302 B
Go
package common
|
|
|
|
import (
|
|
"github.com/hashicorp/packer/template/interpolate"
|
|
)
|
|
|
|
type ExportOpts struct {
|
|
ExportOpts []string `mapstructure:"export_opts"`
|
|
}
|
|
|
|
func (c *ExportOpts) Prepare(ctx *interpolate.Context) []error {
|
|
if c.ExportOpts == nil {
|
|
c.ExportOpts = make([]string, 0)
|
|
}
|
|
|
|
return nil
|
|
}
|