Fixed typo
This commit is contained in:
parent
a03cf62a29
commit
9cf711cfcb
|
@ -90,7 +90,7 @@ func (t *ConfigTemplate) nextTemplateName() string {
|
||||||
func (t *ConfigTemplate) templateUser(n string) (string, error) {
|
func (t *ConfigTemplate) templateUser(n string) (string, error) {
|
||||||
result, ok := t.UserVars[n]
|
result, ok := t.UserVars[n]
|
||||||
if !ok {
|
if !ok {
|
||||||
return "", fmt.Errorf("uknown user var: %s", n)
|
return "", fmt.Errorf("unknown user var: %s", n)
|
||||||
}
|
}
|
||||||
|
|
||||||
return result, nil
|
return result, nil
|
||||||
|
|
Loading…
Reference in New Issue