summaryrefslogtreecommitdiffstats
path: root/src/ogClient.py
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2020-01-02 19:48:14 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commit2fa8aa4ff7deaf92c5b69be0c69fee95ce18ac37 (patch)
tree9c82dcd20ce3ddda5b8a1ba0e7edcbd9e91cba4e /src/ogClient.py
parentf566579f8e79eee8e51bab70eae91d705f2f2d00 (diff)
Add session command to init the opengnsys session
ogAdmClient has a support for initializing the session in the machine. This new command allows the new ogClient to execute the same script to init the session. The arguments will be received from the server as a json message. Format: { "disk" : "0", "partition" : "1"}
Diffstat (limited to 'src/ogClient.py')
-rw-r--r--src/ogClient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index 6aceeaa..4f04e56 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -89,7 +89,7 @@ class ogClient:
if self.trailer and len(self.data) >= self.content_len:
httpparser.parser(self.data)
- self.ogrest.processOperation(httpparser.getRequestOP(), httpparser.getURI(), httpparser.getCMD(), self)
+ self.ogrest.processOperation(httpparser, self)
# Cleanup state information from request
self.data = ""