Skip to content

Commit 1fe8c7b

Browse files
fix: Correct root_pass field in Instance.reset_instance_root_password(...) (#285)
## 📝 Description This change corrects the `root_pass` request body field to match the field expected by the API: https://www.linode.com/docs/api/linode-instances/#linode-root-password-reset ## ✔️ How to Test ``` tox ```
1 parent 49d0801 commit 1fe8c7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linode_api4/objects/linode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def reset_instance_root_password(self, root_password=None):
563563
rpass = Instance.generate_root_password()
564564

565565
params = {
566-
"password": rpass,
566+
"root_pass": rpass,
567567
}
568568

569569
self._client.post(

0 commit comments

Comments
 (0)