Skip to content

Commit a1a39b1

Browse files
Do not return diagnostics when there is no error at all
1 parent 9394af2 commit a1a39b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/provider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func init() {
4545

4646
testAccProvider.ResourcesMap["keycloak_openid_client"].DeleteContext = func(ctx context.Context, data *schema.ResourceData, i interface{}) diag.Diagnostics {
4747
if data.State().Attributes["client_id"] == "account" {
48-
return diag.Diagnostics{}
48+
return nil
4949
} else {
5050
return resourceKeycloakOpenidClientDelete(ctx, data, i)
5151
}

0 commit comments

Comments
 (0)