Migrations: Use Process Manager to create own Context (#13793)

This commit is contained in:
6543 2020-12-02 22:11:11 +01:00 committed by GitHub
parent d551152582
commit 8396b792f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 34 additions and 15 deletions

View file

@ -32,6 +32,7 @@ var (
GitExecutable = "git"
// DefaultContext is the default context to run git commands in
// will be overwritten by Init with HammerContext
DefaultContext = context.Background()
gitVersion *version.Version