From 8e155921a1ef5e0526c3e6e83566249364e1b0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Cie=C5=9Blak?= Date: Wed, 3 Jan 2024 15:11:33 +0100 Subject: [PATCH] wip --- pkg/resources/grant_privileges_to_database_role.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resources/grant_privileges_to_database_role.go b/pkg/resources/grant_privileges_to_database_role.go index 0fd162d41d2..9c227ae2a0d 100644 --- a/pkg/resources/grant_privileges_to_database_role.go +++ b/pkg/resources/grant_privileges_to_database_role.go @@ -630,7 +630,7 @@ func ReadGrantPrivilegesToDatabaseRole(ctx context.Context, d *schema.ResourceDa } opts, grantedOn, diags := prepareShowGrantsRequest(id) - if diags != nil && len(diags) != 0 { + if len(diags) != 0 { return diags }