Merge "Fix url for default volume type call to backend"

This commit is contained in:
Zuul
2025-05-16 14:08:26 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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.'));
}); });

View File

@@ -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: []
}, },