removed redundant params in populateResources
This commit is contained in:
parent
976b62fce8
commit
5b111b1114
@ -30,7 +30,7 @@ async function init () {
|
||||
node = uriData.node;
|
||||
type = uriData.type;
|
||||
vmid = uriData.vmid;
|
||||
await populateResources(node, type, vmid);
|
||||
await populateResources();
|
||||
await populateAddDisk();
|
||||
|
||||
let cancelButton = document.querySelector("#cancel");
|
||||
@ -44,7 +44,7 @@ async function init () {
|
||||
*/
|
||||
}
|
||||
|
||||
async function populateResources (node, type, vmid) {
|
||||
async function populateResources () {
|
||||
let config = await request(`/nodes/${node}/${type}/${vmid}/config`);
|
||||
console.log(config);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user