Skip to content

Commit

Permalink
ask repo server for specific revision
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev committed Nov 4, 2024
1 parent bdf019a commit fb358a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/hydrator/hydrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ func (h *Hydrator) hydrate(logCtx *log.Entry, apps []*appv1.Application, revisio
Path: app.Spec.SourceHydrator.DrySource.Path,
TargetRevision: app.Spec.SourceHydrator.DrySource.TargetRevision,
}
targetRevision := app.Spec.SourceHydrator.DrySource.TargetRevision
//targetRevision := app.Spec.SourceHydrator.DrySource.TargetRevision

// TODO: enable signature verification
objs, resp, err := h.dependencies.GetRepoObjs(app, drySource, targetRevision, project)
objs, resp, err := h.dependencies.GetRepoObjs(app, drySource, revision, project)
if err != nil {
return "", fmt.Errorf("failed to get repo objects: %w", err)
}
Expand Down

0 comments on commit fb358a3

Please sign in to comment.