Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-12-13 12:03:37 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-12-13 12:03:37 +0300
commit9bf04679206859c2d26a0abe2f9c74a7b96dd54a (patch)
tree196e61517f4dfbfb7c706a7159942e27661b965e
parent39d50c8bf34940944b236a1483cce330d725dc98 (diff)
Apply suggestion to internal/service/commit/languages.gozj-repo-languages-failed-precond
-rw-r--r--internal/service/commit/languages.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/service/commit/languages.go b/internal/service/commit/languages.go
index 32320668c..a9c2c06cb 100644
--- a/internal/service/commit/languages.go
+++ b/internal/service/commit/languages.go
@@ -116,6 +116,6 @@ func cacheRecentlyUpdated(path string) bool {
return false
}
- const sentinal = -time.Hour * 24 * 7
- return fi.ModTime().After(time.Now().Add(sentinal))
+ const sentinel = -time.Hour * 24 * 7
+ return fi.ModTime().After(time.Now().Add(sentinel))
}