Skip to content

attempt at fixing an idempotence on roleparam resource #34

attempt at fixing an idempotence on roleparam resource

attempt at fixing an idempotence on roleparam resource #34

Triggered via pull request January 5, 2024 16:16
Status Failure
Total duration 1m 15s
Artifacts

golangci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: main.go#L5
could not import github.com/terraform-providers/terraform-provider-postgresql/postgresql (-: # github.com/terraform-providers/terraform-provider-postgresql/postgresql
lint: postgresql/resource_postgresql_alter_role.go#L146
cannot convert roleParameters (variable of type pq.ByteaArray) to type string
lint: postgresql/resource_postgresql_alter_role.go#L146
cannot use '{' (untyped rune constant 123) as string value in argument to strings.TrimPrefix
lint: postgresql/resource_postgresql_alter_role.go#L147
undefined: parameters
lint: postgresql/resource_postgresql_alter_role.go#L148
undefined: parameters) (typecheck)
lint: postgresql/config.go#L1
: # github.com/terraform-providers/terraform-provider-postgresql/postgresql [github.com/terraform-providers/terraform-provider-postgresql/postgresql.test]
lint: postgresql/resource_postgresql_alter_role.go#L146
cannot convert roleParameters (variable of type pq.ByteaArray) to type string
lint: postgresql/resource_postgresql_alter_role.go#L146
cannot use '{' (untyped rune constant 123) as string value in argument to strings.TrimPrefix
lint: postgresql/resource_postgresql_alter_role.go#L147
undefined: parameters
lint: postgresql/resource_postgresql_alter_role.go#L148
undefined: parameters (typecheck)
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/