Fix volume_url in admin instance detail

Recently the volume panel was moved, but volume_url in
the admin instance detail was not updated accordingly.
This was pointed out in https://review.openstack.org/#/c/437191/

Change-Id: Ie26ef81982c1e2a1c907b57e497b9d4ca2f740cc
This commit is contained in:
Akihiro Motoki 2017-03-11 17:20:44 +00:00
parent aa572a18bb
commit b091fb8016

View File

@ -220,7 +220,7 @@ class LiveMigrateView(forms.ModalFormView):
class DetailView(views.DetailView):
redirect_url = 'horizon:admin:instances:index'
image_url = 'horizon:admin:images:detail'
volume_url = 'horizon:admin:volumes:volumes:detail'
volume_url = 'horizon:admin:volumes:detail'
def _get_actions(self, instance):
table = project_tables.AdminInstancesTable(self.request)