File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ def run_command(command: list[str]):
2020 except subprocess .CalledProcessError as e :
2121 raise RuntimeError (f"Command { ' ' .join (command )} failed. Stderr: { e .stderr .strip ()} " ) from e
2222 except FileNotFoundError :
23- raise FileNotFoundError (f"Error: { command [0 ]} command not found. Ensure { command [0 ]} is installed and in your PATH." )
23+ raise FileNotFoundError (
24+ f"Error: { command [0 ]} command not found. Ensure { command [0 ]} is installed and in your PATH."
25+ )
2426
2527
2628# update_chart_and_get_metadata updates the helm chart's Chart.yaml and sets the version
@@ -71,7 +73,6 @@ def get_oci_registry(chart_info: HelmChartInfo) -> str:
7173 if not repo :
7274 raise ValueError ("Error: reposiotry doesn't seem to be set in HelmChartInfo." )
7375
74-
7576 oci_registry = f"oci://{ registry } /{ repo } "
7677 logger .info (f"Determined OCI Registry: { oci_registry } " )
7778 return oci_registry
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ def main():
6969 region = build_info .helm_charts ["mongodb-kubernetes" ].region
7070 return helm_registry_login (registry , region )
7171
72+
7273if __name__ == "__main__" :
7374 try :
7475 main ()
You can’t perform that action at this time.
0 commit comments