Merge "Fix url for default volume type call to backend"
This commit is contained in:
@@ -235,7 +235,7 @@
|
|||||||
* @returns {Object} The result of the API call
|
* @returns {Object} The result of the API call
|
||||||
*/
|
*/
|
||||||
function getDefaultVolumeType() {
|
function getDefaultVolumeType() {
|
||||||
return apiService.get('/api/cinder/volumetypes/default')
|
return apiService.get('/api/cinder/volumetypes/default/')
|
||||||
.catch(function onError() {
|
.catch(function onError() {
|
||||||
toastService.add('error', gettext('Unable to retrieve the default volume type.'));
|
toastService.add('error', gettext('Unable to retrieve the default volume type.'));
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
{
|
{
|
||||||
func: 'getDefaultVolumeType',
|
func: 'getDefaultVolumeType',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
path: '/api/cinder/volumetypes/default',
|
path: '/api/cinder/volumetypes/default/',
|
||||||
error: 'Unable to retrieve the default volume type.',
|
error: 'Unable to retrieve the default volume type.',
|
||||||
testInput: []
|
testInput: []
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user