Merge pull request #1346 from tehmaspc/tehmaspc_fix_typo

packer: Fixed typo in error message
This commit is contained in:
Mitchell Hashimoto 2014-07-19 09:41:09 -07:00
commit 4101a25b45
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func (t *ConfigTemplate) nextTemplateName() string {
func (t *ConfigTemplate) templateUser(n string) (string, error) {
result, ok := t.UserVars[n]
if !ok {
return "", fmt.Errorf("uknown user var: %s", n)
return "", fmt.Errorf("unknown user var: %s", n)
}
return result, nil