Skip to content

Commit

Permalink
fix: wrong volumes field in curl examples ext-fix-instances (#3534)
Browse files Browse the repository at this point in the history
Co-authored-by: billou <[email protected]>
  • Loading branch information
xxbillouxx and billou authored Jul 29, 2024
1 parent 607320c commit e5398a3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions compute/instances/api-cli/attaching-a-volume.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dates:
"0": {
...
"id": "7fe25caf-0a68-46a7-aeb9-63a278d33e2b",
"volume_type": "l_ssd",
...
}
},
Expand All @@ -52,8 +53,14 @@ dates:
-X PATCH \
-d '{
"volumes": {
"0": "7fe25caf-0a68-46a7-aeb9-63a278d33e2b",
"1": "b3a42fb1-e85c-46e9-b0a6-9adb62278295"
"0": {
"id": "7fe25caf-0a68-46a7-aeb9-63a278d33e2b",
"volume_type": "l_ssd"
},
"1": {
"id": "b3a42fb1-e85c-46e9-b0a6-9adb62278295",
"volume_type": "sbs_volume"
}
}
}' \
https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/be3c50af-e8f3-4ff4-90fe-66972f06670d
Expand Down Expand Up @@ -83,7 +90,7 @@ dates:
"modification_date": "2019-09-03T10:17:40.800839+00:00",
...
"id": "b3a42fb1-e85c-46e9-b0a6-9adb62278295",
"volume_type": "b_ssd",
"volume_type": "sbs_volume",
"server": {
"id": "be3c50af-e8f3-4ff4-90fe-66972f06670d",
"name": "scw-blissful-engelbart"
Expand Down

0 comments on commit e5398a3

Please sign in to comment.