Skip to content

Commit d6c1fad

Browse files
committed
doc(instance): guide how to create an instance
1 parent f1f6809 commit d6c1fad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scaleway/scaleway/instance/v1/tests/test_instance_sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def instance_volume(
5151
)
5252
}
5353

54-
instance = instance_api._create_server(
54+
instance = instance_api.create_instance_server(
5555
commercial_type=commercial_type,
5656
zone=zone,
5757
name=server_name,
@@ -131,7 +131,7 @@ def test_create_new_server(
131131
instance_block_api: tuple[InstanceUtilsV1API, BlockV1Alpha1API],
132132
) -> None:
133133
instance_api, _ = instance_block_api
134-
server_instance = instance_api._create_server(
134+
server_instance = instance_api.create_instance_server(
135135
commercial_type=commercial_type,
136136
zone=zone,
137137
name=server_name_extra,

0 commit comments

Comments
 (0)