Skip to content

Commit

Permalink
fix: revert PR #2053 missed a negation
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrumboe committed Jan 9, 2025
1 parent 68f035c commit f373923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okta/resource_okta_profile_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func resourceProfileMappingRead(ctx context.Context, d *schema.ResourceData, m i
_ = d.Set("target_type", mapping.Target.Type)
_ = d.Set("target_id", mapping.Target.Id)
_ = d.Set("target_name", mapping.Target.Name)
if d.Get("delete_when_absent").(bool) {
if !d.Get("delete_when_absent").(bool) {
current := buildMappingProperties(d.Get("mappings").(*schema.Set))
for k := range mapping.Properties {
if _, ok := current[k]; !ok {
Expand Down

0 comments on commit f373923

Please sign in to comment.