Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 21, 2023
1 parent a9f5215 commit bce9270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions performance_measurement/measure_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def load_inputs_from_dir(dir: str) -> list:
return inputs


def deploy_metrics_server_f(apiclient: kubernetes.client.ApiClient, kubectl_client: KubectlClient):
def deploy_metrics_server(apiclient: kubernetes.client.ApiClient, kubectl_client: KubectlClient):
"""Deploy metrics server"""
logging.info("Deploying metrics server")
p = kubectl_client.kubectl(["apply", "-f", "data/metrics-server.yaml"])
Expand All @@ -62,7 +62,7 @@ def test_normal(
# start the k8s cluster
kubeconfig = os.path.join(os.path.expanduser("~"), ".kube", "anvil")
deploy_metrics_server_f = partial(
deploy_metrics_server_f, kubectl_client=KubectlClient(kubeconfig, context_name))
deploy_metrics_server, kubectl_client=KubectlClient(kubeconfig, context_name))
cluster = kind.Kind(acto_namespace=0,
posthooks=[deploy_metrics_server_f],
feature_gates=config.kubernetes_engine.feature_gates)
Expand Down

0 comments on commit bce9270

Please sign in to comment.