diff --git a/ci-scripts/cls_cluster.py b/ci-scripts/cls_cluster.py index 503529d256..c117df1436 100644 --- a/ci-scripts/cls_cluster.py +++ b/ci-scripts/cls_cluster.py @@ -240,7 +240,7 @@ class Cluster: def _undeploy_pod(self, filename): self.cmd.run(f'oc delete -f {filename}') - def PullClusterImage(self, HTML, RAN): + def PullClusterImage(self, HTML): if self.testSvrId == None: self.testSvrId = self.eNBIPAddress if self.imageToPull == '': HELP.GenericHelp(CONST.Version) diff --git a/ci-scripts/main.py b/ci-scripts/main.py index 2e595aa834..b4426e7c86 100644 --- a/ci-scripts/main.py +++ b/ci-scripts/main.py @@ -410,7 +410,7 @@ def ExecuteActionWithParam(action): string_field = test.findtext('test_svr_id') if (string_field is not None): CLUSTER.testSvrId = string_field - success = CLUSTER.PullClusterImage(HTML, RAN) + success = CLUSTER.PullClusterImage(HTML) else: logging.warning(f"unknown action {action}, skip step")