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 23, 2023
1 parent 4595f36 commit aea1321
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 @@ -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)

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

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit aea1321

Please sign in to comment.