Skip to content

Commit 61dd811

Browse files
authored
docs(instance): update DetachServerFileSystem description (#1116)
1 parent 7143d0a commit 61dd811

File tree

2 files changed

+6
-2
lines changed
  • scaleway-async/scaleway_async/instance/v1
  • scaleway/scaleway/instance/v1

2 files changed

+6
-2
lines changed

scaleway-async/scaleway_async/instance/v1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ async def attach_server_volume(
10971097
boot: Optional[bool] = None,
10981098
) -> AttachServerVolumeResponse:
10991099
"""
1100+
Attach a volume to an Instance.
11001101
:param server_id:
11011102
:param volume_id:
11021103
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1142,6 +1143,7 @@ async def detach_server_volume(
11421143
zone: Optional[ScwZone] = None,
11431144
) -> DetachServerVolumeResponse:
11441145
"""
1146+
Detach a volume from an Instance.
11451147
:param server_id:
11461148
:param volume_id:
11471149
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1225,7 +1227,7 @@ async def detach_server_file_system(
12251227
zone: Optional[ScwZone] = None,
12261228
) -> DetachServerFileSystemResponse:
12271229
"""
1228-
Detach a filesystem volume to an Instance.
1230+
Detach a filesystem volume from an Instance.
12291231
:param server_id:
12301232
:param filesystem_id:
12311233
:param zone: Zone to target. If none is passed will use default zone from the config.

scaleway/scaleway/instance/v1/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ def attach_server_volume(
10971097
boot: Optional[bool] = None,
10981098
) -> AttachServerVolumeResponse:
10991099
"""
1100+
Attach a volume to an Instance.
11001101
:param server_id:
11011102
:param volume_id:
11021103
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1142,6 +1143,7 @@ def detach_server_volume(
11421143
zone: Optional[ScwZone] = None,
11431144
) -> DetachServerVolumeResponse:
11441145
"""
1146+
Detach a volume from an Instance.
11451147
:param server_id:
11461148
:param volume_id:
11471149
:param zone: Zone to target. If none is passed will use default zone from the config.
@@ -1225,7 +1227,7 @@ def detach_server_file_system(
12251227
zone: Optional[ScwZone] = None,
12261228
) -> DetachServerFileSystemResponse:
12271229
"""
1228-
Detach a filesystem volume to an Instance.
1230+
Detach a filesystem volume from an Instance.
12291231
:param server_id:
12301232
:param filesystem_id:
12311233
:param zone: Zone to target. If none is passed will use default zone from the config.

0 commit comments

Comments
 (0)