1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #5593: fix add host provision (#1755)

This commit is contained in:
Jorge Miguel Lobo Escalona 2022-02-07 15:53:16 +01:00 committed by GitHub
parent 9ffabb7d3a
commit 3cdab7551f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ export const provisionService = {
addHost: async ({ id, amount }) => {
const res = await RestClient.request({
method: PUT,
url: `/api/${PROVISION}/host/${id}`,
url: `/api/${PROVISION}/addhost/${id}`,
data: { amount },
})

View File

@ -401,7 +401,7 @@ module.exports = {
},
},
[PROVISION_ADD_HOST]: {
path: `${basepath}/host/:id`,
path: `${basepath}/addhost/:id`,
httpMethod: PUT,
auth: true,
params: {