From cb9538b720697063648146167b7592fd852aff3c Mon Sep 17 00:00:00 2001 From: Simarpreet Singh Date: Mon, 7 Oct 2019 17:43:09 -0700 Subject: [PATCH] ubuntu: Fix git pkg call Signed-off-by: Simarpreet Singh --- ubuntu/ubuntu.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/ubuntu.go b/ubuntu/ubuntu.go index 30e8c94..8a50e5f 100644 --- a/ubuntu/ubuntu.go +++ b/ubuntu/ubuntu.go @@ -52,8 +52,9 @@ type Status struct { } func Update() error { + gc := git.Config{} dir := filepath.Join(utils.CacheDir(), "ubuntu-cve-tracker") - if _, err := git.CloneOrPull(repoURL, dir); err != nil { + if _, err := gc.CloneOrPull(repoURL, dir); err != nil { return xerrors.Errorf("failed to clone or pull: %w", err) }