Skip to content

Commit

Permalink
auth: fix import of auth resource
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 Jun 27, 2022
1 parent f2c34e9 commit 07017f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph/resource_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func resourceAuthRead(ctx context.Context, d *schema.ResourceData, meta interfac
if err != nil {
return diag.Errorf("Unable to connect to Ceph: %s", err)
}
entity := d.Get("entity").(string)
entity := d.Id()

command, err := json.Marshal(map[string]interface{}{
"prefix": "auth get",
Expand Down

0 comments on commit 07017f6

Please sign in to comment.