Skip to content

Commit

Permalink
Merge pull request #157 from CodeLingoBot/rewrite
Browse files Browse the repository at this point in the history
Fix function comments based on best practices from Effective Go
  • Loading branch information
bcomnes authored Apr 19, 2019
2 parents 59fdb05 + a29f9b8 commit 60bfa0c
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 60bfa0c

Please sign in to comment.