From b7269b65796c0a43fb87b4944927d77c5b44b12b Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 28 Aug 2020 14:22:13 -0700 Subject: [PATCH] Fix comment. --- authority/provisioner/ssh_options.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authority/provisioner/ssh_options.go b/authority/provisioner/ssh_options.go index 81c4371b..8ec21942 100644 --- a/authority/provisioner/ssh_options.go +++ b/authority/provisioner/ssh_options.go @@ -40,9 +40,9 @@ func (o *SSHOptions) HasTemplate() bool { return o != nil && (o.Template != "" || o.TemplateFile != "") } -// SSHTemplateOptions generates a CertificateOptions with the template and data -// defined in the ProvisionerOptions, the provisioner generated data, and the -// user data provided in the request. If no template has been provided, +// SSHTemplateOptions generates a SSHCertificateOptions with the template and +// data defined in the ProvisionerOptions, the provisioner generated data, and +// the user data provided in the request. If no template has been provided, // x509util.DefaultLeafTemplate will be used. func TemplateSSHOptions(o *Options, data sshutil.TemplateData) (SSHCertificateOptions, error) { return CustomSSHTemplateOptions(o, data, sshutil.DefaultTemplate)