Skip to content

Commit 9a60dd3

Browse files
committed
Disable clone button for redis database
1 parent 858447d commit 9a60dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbaas/logical/admin/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def friendly_status(self, database):
105105
def clone_html(self, database):
106106
html = []
107107

108-
if database.is_in_quarantine or database.status != database.ALIVE:
108+
if database.is_in_quarantine or database.status != database.ALIVE or database.engine_type == 'redis':
109109
html.append("N/A")
110110
else:
111111
html.append("<a class='btn btn-info' href='%s'><i class='icon-file icon-white'></i></a>" % reverse(

0 commit comments

Comments
 (0)