forked from TrueCloudLab/certificates
Fix comment.
This commit is contained in:
parent
193d18ee21
commit
b7269b6579
1 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,9 @@ func (o *SSHOptions) HasTemplate() bool {
|
||||||
return o != nil && (o.Template != "" || o.TemplateFile != "")
|
return o != nil && (o.Template != "" || o.TemplateFile != "")
|
||||||
}
|
}
|
||||||
|
|
||||||
// SSHTemplateOptions generates a CertificateOptions with the template and data
|
// SSHTemplateOptions generates a SSHCertificateOptions with the template and
|
||||||
// defined in the ProvisionerOptions, the provisioner generated data, and the
|
// data defined in the ProvisionerOptions, the provisioner generated data, and
|
||||||
// user data provided in the request. If no template has been provided,
|
// the user data provided in the request. If no template has been provided,
|
||||||
// x509util.DefaultLeafTemplate will be used.
|
// x509util.DefaultLeafTemplate will be used.
|
||||||
func TemplateSSHOptions(o *Options, data sshutil.TemplateData) (SSHCertificateOptions, error) {
|
func TemplateSSHOptions(o *Options, data sshutil.TemplateData) (SSHCertificateOptions, error) {
|
||||||
return CustomSSHTemplateOptions(o, data, sshutil.DefaultTemplate)
|
return CustomSSHTemplateOptions(o, data, sshutil.DefaultTemplate)
|
||||||
|
|
Loading…
Reference in a new issue