not display loading image for rescued instances

If, any of the instances are rescued or shelved through CLI
those instances status are displayed as rescue or shelved offloaded
with a loading image.

Displaying the loading image for this two status are not correct.

Displaying the loading image is removed for
the rescue and shelved offloaded status.

Change-Id: Ic29da8bc4a6bc75ae9269280f5b28e9ad6a63c2e
Closes-Bug: #1318558
Co-Authored-By: Mizielski Robert <robert.mizielski@cloudwatt.com>
This commit is contained in:
masco 2014-05-12 15:45:17 +05:30
parent d15c61664b
commit 40c220471e
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,8 @@ class AdminInstancesTable(tables.DataTable):
("suspended", True),
("paused", True),
("error", False),
("rescue", True),
("shelved offloaded", True),
)
tenant = tables.Column("tenant_name", verbose_name=_("Project"))
# NOTE(gabriel): Commenting out the user column because all we have

View File

@ -785,6 +785,8 @@ class InstancesTable(tables.DataTable):
("suspended", True),
("paused", True),
("error", False),
("rescue", True),
("shelved offloaded", True),
)
name = tables.Column("name",
link=("horizon:project:instances:detail"),