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
commit 827a566d34
2 changed files with 2 additions and 2 deletions

View File

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

View File

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