Skip to content

Commit 4a50cb0

Browse files
committed
Fix failing healthchecks
File "/opt/app/wbc/sphinx.py", line 97, in get_indices return [row['Index'] for row in res] ~~~^^^^^^^^^ KeyError: 'Index'
1 parent 3b27f3f commit 4a50cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/wbc/sphinx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_indices(self):
9494
:rtype: list
9595
"""
9696
res = self.query('SHOW TABLES')
97-
return [row['Index'] for row in res]
97+
return [row['Table'] for row in res]
9898

9999
def get_meta(self):
100100
"""

0 commit comments

Comments
 (0)