Skip to content

Commit

Permalink
Changed naming of internal funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxusmusti committed Oct 9, 2023
1 parent 805f0cf commit 98bb232
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/codeflare_sdk/cluster/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,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)

Expand All @@ -198,7 +198,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)

Expand Down Expand Up @@ -439,7 +439,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:
Expand Down Expand Up @@ -468,7 +468,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:
Expand Down

0 comments on commit 98bb232

Please sign in to comment.