diff options
Diffstat (limited to 'data/datasource_git.go')
| -rw-r--r-- | data/datasource_git.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/datasource_git.go b/data/datasource_git.go index bd1811b4..c2673dd3 100644 --- a/data/datasource_git.go +++ b/data/datasource_git.go @@ -27,8 +27,7 @@ import ( "github.com/go-git/go-git/v5/storage/memory" ) -func readGit(source *Source, args ...string) ([]byte, error) { - ctx := context.TODO() +func readGit(ctx context.Context, source *Source, args ...string) ([]byte, error) { g := gitsource{} u := source.URL |
