diff --git a/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.js b/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.js index 020d10c1d5..17cb0f418e 100644 --- a/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.js +++ b/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.js @@ -235,7 +235,7 @@ * @returns {Object} The result of the API call */ function getDefaultVolumeType() { - return apiService.get('/api/cinder/volumetypes/default') + return apiService.get('/api/cinder/volumetypes/default/') .catch(function onError() { toastService.add('error', gettext('Unable to retrieve the default volume type.')); }); diff --git a/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.spec.js b/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.spec.js index d08bf741ed..30cb9273a5 100644 --- a/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.spec.js +++ b/openstack_dashboard/static/app/core/openstack-service-api/cinder.service.spec.js @@ -93,7 +93,7 @@ { func: 'getDefaultVolumeType', method: 'get', - path: '/api/cinder/volumetypes/default', + path: '/api/cinder/volumetypes/default/', error: 'Unable to retrieve the default volume type.', testInput: [] },