mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-03 21:52:31 +09:00
(cherry picked from commit 3cdab7551f)
This commit is contained in:
1 parent
e1585c6ef4
commit
a6a488382e
2 files changed
+2
-2
No files matched your search
@@ -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 },
|
||||
})
|
||||
|
||||
|
||||
@@ -401,7 +401,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
[PROVISION_ADD_HOST]: {
|
||||
path: `${basepath}/host/:id`,
|
||||
path: `${basepath}/addhost/:id`,
|
||||
httpMethod: PUT,
|
||||
auth: true,
|
||||
params: {
|
||||
|
||||
Reference in new issue
Block a user