feat: grant privileges to database role resource #271
reviewdog-golanglint-ci.yml
on: pull_request
reviewdog
1m 56s
Annotations
4 errors
reviewdog:
pkg/resources/grant_privileges_to_database_role.go#L479
[golangci] reported by reviewdog 🐶
commentFormatting: put a space between `//` and comment text (gocritic)
Raw Output:
pkg/resources/grant_privileges_to_database_role.go:479:5: commentFormatting: put a space between `//` and comment text (gocritic)
//id.Privileges = []string{}
^
|
reviewdog:
pkg/resources/grant_privileges_to_database_role_identifier.go#L160
[golangci] reported by reviewdog 🐶
`seperated` is a misspelling of `separated` (misspell)
Raw Output:
pkg/resources/grant_privileges_to_database_role_identifier.go:160:107: `seperated` is a misspelling of `separated` (misspell)
return databaseRoleId, sdk.NewError(fmt.Sprintf(`invalid Privileges value: %s, should be either a comma seperated list of privileges or "ALL" / "ALL PRIVILEGES" for all privileges`, parts[3]))
^
|
reviewdog:
pkg/resources/grant_privileges_to_database_role_identifier_test.go#L269
[golangci] reported by reviewdog 🐶
`seperated` is a misspelling of `separated` (misspell)
Raw Output:
pkg/resources/grant_privileges_to_database_role_identifier_test.go:269:70: `seperated` is a misspelling of `separated` (misspell)
Error: `invalid Privileges value: , should be either a comma seperated list of privileges or "ALL" / "ALL PRIVILEGES" for all privileges`,
^
|
reviewdog
reviewdog exited with status code: 1
|