Pass context to lockRepo

This commit is contained in:
Michael Eischer
2020-10-09 22:39:06 +02:00
parent 37a5e2d681
commit 0c9efa9c2a
21 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func runDebugDump(gopts GlobalOptions, args []string) error {
}
if !gopts.NoLock {
lock, err := lockRepo(repo)
lock, err := lockRepo(gopts.ctx, repo)
defer unlockRepo(lock)
if err != nil {
return err