Skip to content

Commit

Permalink
handle missing openid_client for keycloak_openid_client_optional_scop…
Browse files Browse the repository at this point in the history
…es resource
  • Loading branch information
mrparkers committed Apr 17, 2020
1 parent 85f78e0 commit f63e746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func resourceKeycloakOpenidClientOptionalScopesRead(data *schema.ResourceData, m

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

var optionalScopes []string
Expand Down

0 comments on commit f63e746

Please sign in to comment.