From aea1321ab9312cc9caf47ee616f838f5cf444d32 Mon Sep 17 00:00:00 2001 From: Mustafa Eyceoz Date: Mon, 9 Oct 2023 16:44:10 -0400 Subject: [PATCH] Changed naming of internal funcs --- src/codeflare_sdk/cluster/cluster.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/codeflare_sdk/cluster/cluster.py b/src/codeflare_sdk/cluster/cluster.py index ac8d71a0a..8646d0b65 100644 --- a/src/codeflare_sdk/cluster/cluster.py +++ b/src/codeflare_sdk/cluster/cluster.py @@ -224,7 +224,7 @@ def up(self): body=aw, ) else: - self._component_level_up(namespace, api_instance) + self._component_resources_up(namespace, api_instance) except Exception as e: # pragma: no cover return _kube_api_error_handling(e) @@ -246,7 +246,7 @@ def down(self): name=self.app_wrapper_name, ) else: - self._component_level_down(namespace, api_instance) + self._component_resources_down(namespace, api_instance) except Exception as e: # pragma: no cover return _kube_api_error_handling(e) @@ -501,7 +501,7 @@ def local_client_url(self): else: return "None" - def _component_level_up( + def _component_resources_up( self, namespace: str, api_instance: client.CustomObjectsApi ): with open(self.app_wrapper_yaml) as f: @@ -530,7 +530,7 @@ def _component_level_up( body=resource, ) - def _component_level_down( + def _component_resources_down( self, namespace: str, api_instance: client.CustomObjectsApi ): with open(self.app_wrapper_yaml) as f: