Skip to content

Commit

Permalink
fix: handle deleted clients for keycloak_openid_client_default_scopes (
Browse files Browse the repository at this point in the history
…#226) (#252)

Co-authored-by: Christian Brunotte <christian.brunotte@obi.de>
  • Loading branch information
lathspell and Christian Brunotte authored Mar 18, 2020
1 parent dab151b commit 5313139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resource_keycloak_openid_client_default_scopes.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func resourceKeycloakOpenidClientDefaultScopesRead(data *schema.ResourceData, me

clientScopes, err := keycloakClient.GetOpenidClientDefaultScopes(realmId, clientId)
if err != nil {
return err
return handleNotFoundError(err, data)
}

var defaultScopes []string
Expand Down

0 comments on commit 5313139

Please sign in to comment.