Fix option method for template variable.

This commit is contained in:
Mariano Cano 2020-07-14 12:42:26 -07:00
parent 04f5053a7a
commit b11486f41f

View file

@ -74,7 +74,7 @@ func CustomTemplateOptions(o *ProvisionerOptions, data x509util.TemplateData, de
} }
} }
return []x509util.Option{ return []x509util.Option{
x509util.WithTemplateFile(o.Template, data), x509util.WithTemplate(o.Template, data),
} }
}), nil }), nil
} }