Skip to content

Commit 8f8060a

Browse files
Revert "Update AIP-193 example with actionable error details (#1252)" (#1258)
This reverts commit cf533e8.
1 parent cf533e8 commit 8f8060a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

aip/general/0193.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,18 @@ following:
4747
"details": [
4848
{
4949
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
50-
"reason": "RESOURCE_AVAILABILITY",
50+
"reason": "STOCKOUT",
5151
"domain": "compute.googleapis.com",
5252
"metadata": {
5353
"zone": "us-east1-a",
5454
"vmType": "e2-medium",
55-
"attachment": "local-ssd=3,nvidia-t4=2",
56-
"zonesWithCapacity": "us-central1-f,us-central1-c"
55+
"attachment": "local-ssd=3,nvidia-t4=2"
5756
}
5857
},
5958
{
6059
"@type": "type.googleapis.com/google.rpc.LocalizedMessage",
6160
"locale": "en-US",
62-
"message": "An <e2-medium> VM instance with <local-ssd=3,nvidia-t4=2> is currently unavailable in the <us-east1-a> zone.\n Consider trying your request in the <us-central1-f,us-central1-c> zone(s), which currently has/have capacity to accommodate your request.\n Alternatively, you can try your request again with a different VM hardware configuration or at a later time. For more information, see the troubleshooting documentation."
61+
"message": "A e2-medium with local-ssd=3,nvidia-t4=2 is currently unavailable in the us-east1-a zone.\nCapacity changes frequently, so try your request in a different zone, with a different VM hardware configuration, or at a later time. For more information, see troubleshooting documentation."
6362
}
6463
]
6564
}
@@ -265,7 +264,6 @@ message, which would be a backwards incompatible change.
265264

266265
## Changelog
267266

268-
- **2023-10-24**: Updated the example error with more actionable details.
269267
- **2023-05-17**: Change the recommended language for `Status.message`
270268
to be the service's native language rather than English.
271269
- **2023-05-17**: Specify requirements for changing error messages.

0 commit comments

Comments
 (0)