Loading cloudcontrol/server/clients/host.py +5 −4 Original line number Diff line number Diff line Loading @@ -69,15 +69,16 @@ class HostClient(Client): self.proxy.forward(tun.label, port, destination) return tun def script_run(self, sha1_hash, script, batch=None, *args): def script_run(self, sha1_hash, script, owner, batch=None, *args): """ Run a script on the host. """ return self.conn.call('script_run', sha1_hash, script, batch=batch, *args) return self.conn.call('script_run', sha1_hash, script, owner, batch=batch, *args) def plugin_run(self, sha1_hash, plugin, method, batch=None, **kwargs): def plugin_run(self, plugin, method, owner, batch=None, **kwargs): """ Run a plugin method on the host. """ return self.conn.call('plugin_run', sha1_hash, plugin, method, return self.conn.call('plugin_run', plugin, method, owner, batch=batch, **kwargs) def plugin_install(self, sha1_hash, plugin): Loading Loading
cloudcontrol/server/clients/host.py +5 −4 Original line number Diff line number Diff line Loading @@ -69,15 +69,16 @@ class HostClient(Client): self.proxy.forward(tun.label, port, destination) return tun def script_run(self, sha1_hash, script, batch=None, *args): def script_run(self, sha1_hash, script, owner, batch=None, *args): """ Run a script on the host. """ return self.conn.call('script_run', sha1_hash, script, batch=batch, *args) return self.conn.call('script_run', sha1_hash, script, owner, batch=batch, *args) def plugin_run(self, sha1_hash, plugin, method, batch=None, **kwargs): def plugin_run(self, plugin, method, owner, batch=None, **kwargs): """ Run a plugin method on the host. """ return self.conn.call('plugin_run', sha1_hash, plugin, method, return self.conn.call('plugin_run', plugin, method, owner, batch=batch, **kwargs) def plugin_install(self, sha1_hash, plugin): Loading