aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elivepatch_client/client/checkers.py3
-rw-r--r--elivepatch_client/client/restful.py12
2 files changed, 0 insertions, 15 deletions
diff --git a/elivepatch_client/client/checkers.py b/elivepatch_client/client/checkers.py
index ed8bf97..f3f0750 100644
--- a/elivepatch_client/client/checkers.py
+++ b/elivepatch_client/client/checkers.py
@@ -73,9 +73,6 @@ class Kernel(object):
# send uncompressed config and patch files fullpath
self.rest_manager.send_files(temporary_config, self.main_patch_fullpath, incremental_patches_list, send_api)
- def build_livepatch(self):
- self.rest_manager.build_livepatch()
-
def get_livepatch(self):
self.rest_manager.get_livepatch(self.main_patch_fullpath)
diff --git a/elivepatch_client/client/restful.py b/elivepatch_client/client/restful.py
index e11d8ba..291e393 100644
--- a/elivepatch_client/client/restful.py
+++ b/elivepatch_client/client/restful.py
@@ -75,18 +75,6 @@ class ManaGer(object):
temporary_config.close()
return response_dict
- def build_livepatch(self):
- url = self.server_url+'/elivepatch/api/v1.0/build_livepatch'
- payload = {
- 'KernelVersion': self.kernel_version,
- 'UUID' : self.uuid
- }
- try:
- response = requests.post(url, json=payload)
- print(response.json())
- except:
- self._catching_exceptions_exit(self.build_livepatch)
-
def get_livepatch(self, patch_folder):
from io import BytesIO
patch_manager = patch.ManaGer()