mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-07 10:22:51 +00:00
Update container.py
This commit is contained in:
parent
538cea5e84
commit
7198281941
|
@ -3,7 +3,7 @@ import docker
|
||||||
class Container(Extension):
|
class Container(Extension):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.type = "rpcmethod"
|
self.type = "rpcmethod"
|
||||||
self.method = "container_init"
|
self.method = "container_request"
|
||||||
self.exported_methods = ["container_run", "container_stop"]
|
self.exported_methods = ["container_run", "container_stop"]
|
||||||
|
|
||||||
def dispatch(self, type, id, params, conn):
|
def dispatch(self, type, id, params, conn):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user