feat: grant privileges to database role resource #259
reviewdog-golanglint-ci.yml
on: pull_request
reviewdog
2m 2s
Annotations
6 errors
reviewdog:
pkg/resources/grant_privileges_to_database_role.go#L6
[golangci] reported by reviewdog 🐶
File is not `gofumpt`-ed (gofumpt)
Raw Output:
pkg/resources/grant_privileges_to_database_role.go:6: File is not `gofumpt`-ed (gofumpt)
"fmt"
|
reviewdog:
pkg/resources/grant_privileges_to_database_role.go#L13
[golangci] reported by reviewdog 🐶
File is not `gofumpt`-ed (gofumpt)
Raw Output:
pkg/resources/grant_privileges_to_database_role.go:13: File is not `gofumpt`-ed (gofumpt)
"slices"
"strings"
|
reviewdog:
pkg/resources/grant_privileges_to_database_role_identifier.go#L4
[golangci] reported by reviewdog 🐶
File is not `gofumpt`-ed (gofumpt)
Raw Output:
pkg/resources/grant_privileges_to_database_role_identifier.go:4: File is not `gofumpt`-ed (gofumpt)
"fmt"
|
reviewdog:
pkg/resources/grant_privileges_to_database_role_identifier.go#L5
[golangci] reported by reviewdog 🐶
File is not `goimports`-ed (goimports)
Raw Output:
pkg/resources/grant_privileges_to_database_role_identifier.go:5: File is not `goimports`-ed (goimports)
"github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/helpers"
"github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/sdk"
|
reviewdog:
pkg/resources/grant_privileges_to_database_role.go#L648
[golangci] reported by reviewdog 🐶
S1002: should omit comparison to bool constant, can be simplified to `!*opts.Future` (gosimple)
Raw Output:
pkg/resources/grant_privileges_to_database_role.go:648:30: S1002: should omit comparison to bool constant, can be simplified to `!*opts.Future` (gosimple)
if (opts.Future == nil || *opts.Future == false) && grant.GrantedBy.Name() == "" {
^
|
reviewdog
reviewdog exited with status code: 1
|