Skip to content

Commit 2ecc018

Browse files
committed
fix(instance): ensure mutable user_data initialization before assignment
1 parent d2448b5 commit 2ecc018

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scaleway/scaleway/instance/v1/custom_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, Dict
1+
from typing import Optional, Dict, Mapping
22

33
from requests import Response
44

@@ -92,7 +92,6 @@ def get_all_server_user_data(
9292
value = InstanceUtilsV1API.get_server_user_data(
9393
self, server_id=param_server_id, key=key
9494
)
95-
print("value: ", value)
9695
user_data[key] = value.content
9796

9897
return GetAllServerUserDataResponse(user_data=user_data)

0 commit comments

Comments
 (0)