Update console.html, plugins

This commit is contained in:
Namhyeon Go 2024-10-25 09:36:33 +09:00
parent 44425dbb8b
commit 0759dbffaf
2 changed files with 22 additions and 1 deletions

View File

@ -314,6 +314,27 @@
return; return;
} }
// method(container_start)
if ([
"container_start",
"container_stop",
"container_pause",
"container_unpause",
"container_restart",
"container_kill",
"container_remove"
].indexOf(env.method) > -1) {
if (args.length < 1) {
this.echo("Please set a container name");
return;
}
jsonrpc2_request(this, env.method, {
"name": args[0]
});
return;
}
// method(*) // method(*)
jsonrpc2_request(this, env.method, {}); jsonrpc2_request(this, env.method, {});
} }

@ -1 +1 @@
Subproject commit ca4978506b4ea0aaf8ae81fb93636818bad6017e Subproject commit 7af43afa3fa35d1b65f2d3bc42b6b3f3438a3ed3