Skip to content

Commit

Permalink
Fix function comments based on best practices from Effective Go
Browse files Browse the repository at this point in the history
Signed-off-by: CodeLingoBot <[email protected]>
  • Loading branch information
CodeLingoBot committed Mar 20, 2019
1 parent 59fdb05 commit a29f9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/porcelain/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (n *Netlify) UpdateSite(ctx context.Context, site *models.SiteSetup) (*mode
return resp.Payload, nil
}

// ConfigureSiteTLS provisions a TLS certificate for a site with a custom domain.
// ConfigureSiteTLSCertificate provisions a TLS certificate for a site with a custom domain.
// It uses Let's Encrypt if the certificate is empty.
func (n *Netlify) ConfigureSiteTLSCertificate(ctx context.Context, siteID string, cert *CustomTLSCertificate) (*models.SniCertificate, error) {
authInfo := context.GetAuthInfo(ctx)
Expand Down

0 comments on commit a29f9b8

Please sign in to comment.