1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

M #~: Minor fix to allocate image request (#2139)

This commit is contained in:
Sergio Betanzos 2022-06-10 13:01:20 +02:00 committed by GitHub
parent 1051f6796f
commit 04aed032cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ const imageApi = oneApi.injectEndpoints({
*
* @param {object} params - Request params
* @param {string} params.template - A string containing the template of the image on syntax XML
* @param {string} params.id - The datastore ID
* @param {string} params.datastore - The datastore ID
* @param {boolean} [params.capacity] - `true` to avoid checking datastore capacity
* @returns {number} Image id
* @throws Fails when response isn't code 200