Skip to content

Commit

Permalink
Fix debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
yorik committed Aug 16, 2024
1 parent f7bb2bf commit 87fd399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/build/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ func (h *Helm) buildFromHelmRepository(ctx context.Context, obj *sourcev1beta2.H
if h.Cache != nil {
if path, ok := h.Cache.Get(ref.Key()); ok {
opts.CachedChart = path.(string)
h.Logger.V(1).Info("Using cached artifact %s, with path %s", obj.GetArtifact().URL, path)
h.Logger.V(1).Info("Using cached artifact %s, with path %s", ref.Key(), path)
}
}

Expand All @@ -656,7 +656,7 @@ func (h *Helm) buildFromHelmRepository(ctx context.Context, obj *sourcev1beta2.H
}
if h.Cache != nil {
if err = h.Cache.Set(ref.Key(), path, time.Hour); err != nil {
h.Logger.V(1).Info("Cached %s artifact in path %s", repo.GetArtifact().Path, path)
h.Logger.V(1).Info("Cached %s artifact in path %s", ref.Key(), path)
}
}

Expand Down

0 comments on commit 87fd399

Please sign in to comment.