Skip to content

Commit

Permalink
fix(storage/fs): threading insecure and ca bundle on fetch (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMac authored Sep 2, 2024
1 parent 8cc6d58 commit cd9feee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/storage/fs/git/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,10 @@ func (s *SnapshotStore) fetch(ctx context.Context, heads []string) (bool, error)
}

if err := s.repo.FetchContext(ctx, &git.FetchOptions{
Auth: s.auth,
RefSpecs: refSpecs,
Auth: s.auth,
RefSpecs: refSpecs,
InsecureSkipTLS: s.insecureSkipTLS,
CABundle: s.caBundle,
}); err != nil {
if !errors.Is(err, git.NoErrAlreadyUpToDate) {
return false, err
Expand Down

0 comments on commit cd9feee

Please sign in to comment.