Skip to content

Commit 02b1b92

Browse files
authored
moved metadata to optional fields
1 parent 65dddea commit 02b1b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upcloud_api/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class Server:
7171
'avoid_host',
7272
'login_user',
7373
'user_data',
74+
'metadata',
7475
]
7576

7677
def __init__(self, server=None, **kwargs) -> None:
@@ -325,7 +326,6 @@ def prepare_post_body(self):
325326
'hostname': self.hostname,
326327
'zone': self.zone,
327328
'title': self.title,
328-
'metadata': self.metadata,
329329
'storage_devices': {},
330330
}
331331

0 commit comments

Comments
 (0)