Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from LF-Engineering/DA-4996-fix
Browse files Browse the repository at this point in the history
Log set last sync as error
  • Loading branch information
fayazg authored Jul 22, 2022
2 parents a593a57 + aeffebc commit 8eab830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -5652,7 +5652,7 @@ func (j *DSGitHub) OutputDocs(ctx *shared.Ctx, items []interface{}, docs *[]inte
defer gMaxUpstreamDtMtx.Unlock()
err = j.cacheProvider.SetLastSync(fmt.Sprintf("%s/%s", j.Org, j.Repo), gMaxUpstreamDt)
if err != nil {
j.log.WithFields(logrus.Fields{"operation": "OutputDocs"}).Infof("unable to set last sync date to cache.error: %v", err)
j.log.WithFields(logrus.Fields{"operation": "OutputDocs"}).Errorf("unable to set last sync date to cache.error: %v", err)
}
}
}
Expand Down

0 comments on commit 8eab830

Please sign in to comment.