feat(cache): redis TLS support (#1297)

This commit is contained in:
Taufik Mulyana
2022-01-18 20:16:00 +07:00
committed by GitHub
parent 02c3c3659d
commit cabd18daae
7 changed files with 108 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ func runWithTimeout(ctx context.Context, opt Option, initializeScanner Initializ
func initFSCache(c Option) (cache.Cache, error) {
utils.SetCacheDir(c.CacheDir)
cache, err := operation.NewCache(c.CacheBackend)
cache, err := operation.NewCache(c.CacheOption)
if err != nil {
return operation.Cache{}, xerrors.Errorf("unable to initialize the cache: %w", err)
}