We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c310b commit 909c145Copy full SHA for 909c145
src/oci-limits-mcp-server/oracle/oci_limits_mcp_server/server.py
@@ -274,15 +274,15 @@ def get_resource_availability(
274
name=limit_name,
275
)
276
if len(limits) == 0:
277
- return {
+ return [{
278
"message": f"Limit '{limit_name}' not found for service '{service_name}'"
279
- }
+ }]
280
281
limit_definition = limits[0]
282
if not limit_definition.is_resource_availability_supported:
283
284
"message": f"Resource availability not supported for limit '{limit_name}'. Consider calling get_limit_value to get the limit value."
285
286
287
if limit_definition.scope_type == "AD":
288
availability_domains = list_availability_domains(compartment_id)
0 commit comments