Skip to content

Commit

Permalink
fix typo in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed Jan 3, 2022
1 parent 07097ca commit b9132b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sshutil/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (t TemplateData) SetUserData(v interface{}) {
t.SetInsecure(UserKey, v)
}

// SetCertificate sets a the given certificate in the template. This certificate
// SetCertificate sets the given certificate in the template. This certificate
// is generally present in a token header.
func (t TemplateData) SetCertificate(crt interface{}) {
t.Set(CertificateKey, crt)
Expand Down
2 changes: 1 addition & 1 deletion x509util/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (t TemplateData) SetUserData(v interface{}) {
t.SetInsecure(UserKey, v)
}

// SetCertificate sets a the given certificate in the template. This certificate
// SetCertificate sets the given certificate in the template. This certificate
// is generally present in a token header.
func (t TemplateData) SetCertificate(crt interface{}) {
t.Set(CertificateKey, crt)
Expand Down

0 comments on commit b9132b1

Please sign in to comment.