Skip to content

Commit

Permalink
fix: invalid attribute in placement group (#258)
Browse files Browse the repository at this point in the history
The actions client attribute name is `actions`
  • Loading branch information
jooola committed Jul 24, 2023
1 parent c8253f3 commit 23b3607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcloud/placement_groups/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def create(

action = None
if response.get("action") is not None:
action = BoundAction(self._client.action, response["action"])
action = BoundAction(self._client.actions, response["action"])

result = CreatePlacementGroupResponse(
placement_group=BoundPlacementGroup(self, response["placement_group"]),
Expand Down

0 comments on commit 23b3607

Please sign in to comment.