diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-10 12:47:05 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-10 12:47:05 +0200 |
commit | c8239a990b9babe071f08b78ad0195f01550d628 (patch) | |
tree | cce35c80f584a66fde4b659b5be15857e1b2e6d4 /cache/repo_cache.go | |
parent | ece9e39461bb40df979c22092873eff014fc1648 (diff) | |
download | git-bug-c8239a990b9babe071f08b78ad0195f01550d628.tar.gz |
cache: doc & cleaning
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r-- | cache/repo_cache.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go index af9c5070..f0c9ac4a 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -387,7 +387,7 @@ func repoIsAvailable(repo repository.Repo) error { return err } if len(buf) == 10 { - return fmt.Errorf("The lock file should be < 10 bytes") + return fmt.Errorf("the lock file should be < 10 bytes") } pid, err := strconv.Atoi(string(buf)) @@ -396,7 +396,7 @@ func repoIsAvailable(repo repository.Repo) error { } if util.ProcessIsRunning(pid) { - return fmt.Errorf("The repository you want to access is already locked by the process pid %d", pid) + return fmt.Errorf("the repository you want to access is already locked by the process pid %d", pid) } // The lock file is just laying there after a crash, clean it |