Skip to content

Commit 6d92cf4

Browse files
fix(*): correct spelling mistakes and linting problems caught by misspell and golint
1 parent d4f9548 commit 6d92cf4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

api/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type CertCreateRequest struct {
2828
Name string `json:"name"`
2929
}
3030

31-
// CertAttachRequest is the defintion of post to /v2/certs/<cert>/domain
31+
// CertAttachRequest is the definition of POST to /v2/certs/<cert>/domain
3232
type CertAttachRequest struct {
3333
Domain string `json:"domain"`
3434
}

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Client struct {
1515
// HTTP client used to communicate with the API.
1616
HTTPClient *http.Client
1717

18-
// SSLVerify determines whether or not to verify SSL conections.
18+
// SSLVerify determines whether or not to verify SSL connections.
1919
SSLVerify bool
2020

2121
// URL used to communicate with the controller.

models/perms/perms.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func Delete(c *client.Client, appID string, username string) error {
7979
return doDelete(c, fmt.Sprintf("/v2/apps/%s/perms/%s", appID, username))
8080
}
8181

82-
// DeleteAdmin removes administrative privilages from a user.
82+
// DeleteAdmin removes administrative privileges from a user.
8383
func DeleteAdmin(c *client.Client, username string) error {
8484
return doDelete(c, fmt.Sprintf("/v2/admin/perms/%s", username))
8585
}

0 commit comments

Comments
 (0)