1 parent fd7da36 commit b85d00cCopy full SHA for b85d00c
1 file changed
hcloud/servers/client.py
@@ -1050,7 +1050,7 @@ def rebuild(
1050
"""
1051
data: dict[str, Any] = {"image": image.id_or_name}
1052
if user_data is not None:
1053
- data.update({"user_data": user_data})
+ data["user_data"] = user_data
1054
1055
response = self._client.request(
1056
url=f"{self._base_url}/{server.id}/actions/rebuild",
0 commit comments