Skip to content

Commit

Permalink
dont use formatted log for non-formatted string
Browse files Browse the repository at this point in the history
  • Loading branch information
l3uddz committed Apr 18, 2020
1 parent 857ecf6 commit c878981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uploader/checker/age.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (_ Age) Check(cfg *config.UploaderCheck, log *logrus.Entry, paths []pathuti
"file_time": path.ModifiedTime,
"file_path": path.Path,
"over_age": humanize.RelTime(maxFileAge, path.ModifiedTime, "", ""),
}).Tracef("Age is greater than specified limit")
}).Trace("Age is greater than specified limit")

checkPassed = true
}
Expand Down

0 comments on commit c878981

Please sign in to comment.