fix error message typo (#9541)

This commit is contained in:
Adrien Delorme 2020-07-07 16:50:15 +02:00 committed by GitHub
parent a4d1afb83a
commit 03d29386dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func (p *HCL2PostProcessor) HCL2Prepare(buildVars map[string]interface{}) error
case string:
buildValues[k] = cty.StringVal(v)
default:
return fmt.Errorf("unhandled builvar type: %T", v)
return fmt.Errorf("unhandled buildvar type: %T", v)
}
}
ectx.Variables = map[string]cty.Value{

View File

@ -36,7 +36,7 @@ func (p *HCL2Provisioner) HCL2Prepare(buildVars map[string]interface{}) error {
case string:
buildValues[k] = cty.StringVal(v)
default:
return fmt.Errorf("unhandled builvar type: %T", v)
return fmt.Errorf("unhandled buildvar type: %T", v)
}
}
ectx.Variables = map[string]cty.Value{