spelling: flattened

This commit is contained in:
Josh Soref 2018-03-13 07:50:25 +00:00
parent dc942a0d8a
commit b545c6f87e
1 changed files with 2 additions and 2 deletions

View File

@ -203,11 +203,11 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
defer f.Close() defer f.Close()
// Create environment variables to set before executing the command // Create environment variables to set before executing the command
flattendVars := p.createFlattenedEnvVars() flattenedVars := p.createFlattenedEnvVars()
// Compile the command // Compile the command
p.config.ctx.Data = &ExecuteCommandTemplate{ p.config.ctx.Data = &ExecuteCommandTemplate{
Vars: flattendVars, Vars: flattenedVars,
Path: p.config.RemotePath, Path: p.config.RemotePath,
} }
command, err := interpolate.Render(p.config.ExecuteCommand, &p.config.ctx) command, err := interpolate.Render(p.config.ExecuteCommand, &p.config.ctx)