Skip to content

Commit

Permalink
better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte committed Sep 3, 2024
1 parent 257986b commit 33ff5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/local/local/locate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ func getLatestAirbyteChartUrlFromRepoIndex(repoName, repoUrl string) (string, er

idxPath, err := chartRepo.DownloadIndexFile()
if err != nil {
return "", fmt.Errorf("unable to access repo index: %w", err)
return "", fmt.Errorf("unable to download index file: %w", err)
}

idx, err := repo.LoadIndexFile(idxPath)
if err != nil {
return "", fmt.Errorf("unable to access repo index: %w", err)
return "", fmt.Errorf("unable to load index file (%s): %w", idxPath, err)
}

airbyteEntry, ok := idx.Entries["airbyte"]
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/local/local/specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func ingressRule(host string) networkingv1.IngressRule {
var pathType = networkingv1.PathType("Prefix")

return networkingv1.IngressRule{
Host: host,
// Host: host,
IngressRuleValue: networkingv1.IngressRuleValue{
HTTP: &networkingv1.HTTPIngressRuleValue{
Paths: []networkingv1.HTTPIngressPath{
Expand Down

0 comments on commit 33ff5bc

Please sign in to comment.