Skip to content

Commit

Permalink
Fix importing user (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasSteinerPF authored Nov 27, 2024
1 parent 0edd2e7 commit cc0909d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.9.3 (November 27, 2024)

BUG FIXES:

* Fixed an issue with importing users

## 1.9.2 (September 12, 2024)

FEATURES:
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func resourceUserRead(ctx context.Context, d *schema.ResourceData, m interface{}
c := m.(*packetfabric.PFClient)
c.Ctx = ctx
var diags diag.Diagnostics
userID := d.Get("login").(string)
userID := d.Id()
resp, err := c.ReadUsers(userID)
if err != nil {
return diag.FromErr(err)
Expand Down

0 comments on commit cc0909d

Please sign in to comment.