Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #367 from silenceshell/log_format
Browse files Browse the repository at this point in the history
add err as a param for log.Errorf
  • Loading branch information
twelho committed Aug 30, 2019
2 parents d817df0 + b6b9d6d commit 2c04dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gitops/gitdir/gitdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (d *GitDirectory) commitLoop() error {

files, err := d.checkout.ChangedFiles(context.Background(), d.branch)
if err != nil {
log.Errorf("couldn't get changed files: %v")
log.Errorf("couldn't get changed files: %v", err)
continue
}

Expand Down

0 comments on commit 2c04dc5

Please sign in to comment.