Added correct URL to edit QoS spec

Not able to edit the QoS spec since we are getting 'NoReverseMatch' exception.

The Exception thrown because the given URL is not correct.

This patch adding the correct URL to edit the QoS spec.

Change-Id: I0381ea343494be3449a8036b99fcbba98d893cb9
Closes-Bug: #1465185
This commit is contained in:
Masco Kaliyamoorthy 2015-06-15 14:15:39 +05:30
parent 5bde65705a
commit 5d34ba5a3c

View File

@ -101,7 +101,7 @@ class EditKeyValuePairView(QosSpecMixin, forms.ModalFormView):
modal_id = "qos_spec_edit_modal"
template_name = 'admin/volumes/volume_types/qos_specs/edit.html'
submit_label = _("Save")
submit_url = "horizon:admin:volumes:volume_types:qos_specs_edit"
submit_url = "horizon:admin:volumes:volume_types:qos_specs:edit"
success_url = 'horizon:admin:volumes:volume_types:qos_specs:index'
page_title = _("QoS Spec: {{ qos_spec_name }}")