Verified Commit b8b9cc93 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix dry-run flag

parent 907616f9
Pipeline #37784 passed with stages
in 1 minute and 22 seconds
......@@ -33,7 +33,7 @@ class DeleteService:
"deleteId": record_id,
}
try:
return self.run_job(set_values, dryrun)
return self.run_job(set_values, dryrun == "true")
except Exception as ex:
message = str(ex)
self.logger.error(message)
......@@ -46,7 +46,7 @@ class DeleteService:
"deleteId": recordset_id,
}
try:
return self.run_job(set_values, dryrun)
return self.run_job(set_values, dryrun == "true")
except Exception as ex:
message = str(ex)
self.logger.error(message)
......@@ -59,7 +59,7 @@ class DeleteService:
"deleteId": institution_id,
}
try:
return self.run_job(set_values, dryrun)
return self.run_job(set_values, dryrun == "true")
except Exception as ex:
message = str(ex)
self.logger.error(message)
......@@ -86,7 +86,7 @@ class DeleteService:
}
return json.dumps(retJson, ensure_ascii=True, indent=2)
def do_helm_install(self, set_values, chart_name, dryrun):
def do_helm_install(self, set_values: dict, chart_name: str, dryrun: bool):
self.logger.error(
"calling delete service: type="
+ set_values["deleteObject"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment