Skip to content

Commit

Permalink
chore(comp/git): remove redundant health updater
Browse files Browse the repository at this point in the history
Signed-off-by: hainenber <[email protected]>
  • Loading branch information
hainenber committed Nov 16, 2023
1 parent bff48c1 commit d5e93a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion component/module/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func New(o component.Options, args Arguments) (*Component, error) {
if err := c.Update(args); err != nil {
if errors.As(err, &vcs.UpdateFailedError{}) {
level.Error(c.log).Log("msg", "failed to update repository", "err", err)
c.updateHealth(err)
} else {
return nil, err
}
Expand Down

0 comments on commit d5e93a0

Please sign in to comment.