Skip to content

Commit

Permalink
auth: set entity on read to fix import
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
  • Loading branch information
MrFreezeex committed Jul 1, 2022
1 parent 07017f6 commit b46b26b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ceph/resource_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ func resourceAuthRead(ctx context.Context, d *schema.ResourceData, meta interfac
return diag.Errorf("Error resource_auth unmarshal on get response: %s", err)
}

if err := d.Set("entity", entity); err != nil {
return diag.Errorf("Unable to set entity: %s", err)
}
return setAuthResourceData(d, authResponses)
}

Expand Down

0 comments on commit b46b26b

Please sign in to comment.