Skip to content

Commit

Permalink
fix(storage): remove server dict
Browse files Browse the repository at this point in the history
  • Loading branch information
villevsv-upcloud committed May 20, 2024
1 parent 82e4d51 commit f1b055d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upcloud_api/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def to_dict(self):
body['labels'] = dict_labels

if hasattr(self, 'encrypted') and isinstance(self.encrypted, bool):
body['server']['encrypted'] = "yes" if self.encrypted else "no"
body['encrypted'] = "yes" if self.encrypted else "no"

return body

Expand Down

0 comments on commit f1b055d

Please sign in to comment.