removed redundant params in populateResources
This commit is contained in:
parent
6984f20998
commit
79a46b1f9b
@ -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