Skip to content

Commit c4f46d8

Browse files
committed
Fix Lint issues
Signed-off-by: Mayur Khandave <[email protected]>
1 parent 909c145 commit c4f46d8

File tree

1 file changed

+10
-6
lines changed
  • src/oci-limits-mcp-server/oracle/oci_limits_mcp_server

1 file changed

+10
-6
lines changed

src/oci-limits-mcp-server/oracle/oci_limits_mcp_server/server.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,19 @@ def get_resource_availability(
274274
name=limit_name,
275275
)
276276
if len(limits) == 0:
277-
return [{
278-
"message": f"Limit '{limit_name}' not found for service '{service_name}'"
279-
}]
277+
return [
278+
{
279+
"message": f"Limit '{limit_name}' not found for service '{service_name}'"
280+
}
281+
]
280282

281283
limit_definition = limits[0]
282284
if not limit_definition.is_resource_availability_supported:
283-
return [{
284-
"message": f"Resource availability not supported for limit '{limit_name}'. Consider calling get_limit_value to get the limit value."
285-
}]
285+
return [
286+
{
287+
"message": f"Resource availability not supported for limit '{limit_name}'. Consider calling get_limit_value to get the limit value."
288+
}
289+
]
286290

287291
if limit_definition.scope_type == "AD":
288292
availability_domains = list_availability_domains(compartment_id)

0 commit comments

Comments
 (0)