From cce76aec0f72093062cbfa25c9bf6756f48e3b90 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Thu, 11 Jan 2024 16:58:04 +0000 Subject: [PATCH] Update error messages for failing to find HelmRepository --- flux_local/helm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flux_local/helm.py b/flux_local/helm.py index bb2dc417..63c15f4c 100644 --- a/flux_local/helm.py +++ b/flux_local/helm.py @@ -211,7 +211,8 @@ async def template( if not repo: raise HelmException( f"Unable to find HelmRepository for {release.chart.chart_name} for " - f"HelmRelease {release.name}" + f"HelmRelease {release.name} " + f"({len(self._repos)} other HelmRepositories in --path)" ) args: list[str] = [ HELM_BIN,