Skip to content

Commit 1e64709

Browse files
committed
Merge pull request #52 from Joshua-Anderson/spelling
fix(*): correct spelling mistakes and linting problems caught by misspell and golint
2 parents c48c568 + 8eeaac5 commit 1e64709

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

cmd/perms.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func PermCreate(appID string, username string, admin bool) error {
7171
return nil
7272
}
7373

74-
// PermDelete removes a user from an app or revokes admin privilages.
74+
// PermDelete removes a user from an app or revokes admin privileges.
7575
func PermDelete(appID string, username string, admin bool) error {
7676

7777
c, appID, err := permsLoad(appID, admin)

controller/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
}

controller/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.

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
}

version/version.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package version
33
// Version identifies this Deis product revision.
44
const Version = "2.0.0-dev"
55

6-
// API identifies the latest Deis api verison
6+
// APIVersion identifies the latest Deis api version
77
const APIVersion = "2.0"
88

9+
// BuildVersion is the git revision of the build.
910
// Note: This value is overwritten by the linker during build
1011
var BuildVersion = ""

0 commit comments

Comments
 (0)