diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-05-15 17:14:47 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-05-18 08:33:37 +0200 |
commit | 621fb7a786c724609690c480650b8a4ac01befa7 (patch) | |
tree | 2d80aa5713756d2ebb8ded5582a9e747cd67fb4e /src/ogRest.py | |
parent | efedaa27f1402331911b50f33ca3315a8b888884 (diff) |
Adapt ogLinuxOperation to work with json config file
ogClient changed its config file format to json. This patch adapts
ogLinuxOperation to use new config file.
Co-authored-by: Roberto Hueso <rhueso@soleta.eu>
Diffstat (limited to 'src/ogRest.py')
-rw-r--r-- | src/ogRest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogRest.py b/src/ogRest.py index 64558a2..01a3050 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -251,7 +251,7 @@ class ogRest(): self.samba_config = self.CONFIG['samba'] if self.mode == 'linux': - self.operations = OgLinuxOperations() + self.operations = OgLinuxOperations(self.CONFIG) elif self.mode == 'virtual': self.operations = OgVirtualOperations() threading.Thread(target=ogThread.check_vm_state_loop, |