Skip to content

feat: grant privileges to database role resource #259

feat: grant privileges to database role resource

feat: grant privileges to database role resource #259

Triggered via pull request January 3, 2024 13:05
Status Failure
Total duration 2m 14s
Artifacts

reviewdog-golanglint-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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