Skip to content

Commit

Permalink
update09051720
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyd66 committed Sep 5, 2024
1 parent fa1ced8 commit 7375144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/analyzer/analyze_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def init_option(self):
sql = 'select c.tenant_id,GROUP_CONCAT(DISTINCT b.svr_ip ORDER BY b.svr_ip) AS ip_list FROM __all_resource_pool a JOIN __all_unit b ON a.resource_pool_id = b.resource_pool_id JOIN __all_tenant c ON a.tenant_id = c.tenant_id WHERE c.tenant_name ="{0}")'.format(
self.tenant
)
sql_result = self.ob_connector.execute_sql_return_cursor_dictionary(sql).fetchall()
sql_result = self.obconn.execute_sql_return_cursor_dictionary(sql).fetchall()
if len(sql_result) <= 0:
self.stdio.exception('Error: tenant is {0} not in this cluster '.format(tenant_option))
return False
Expand Down

0 comments on commit 7375144

Please sign in to comment.