Use localhost instead of the cache proxy address

cache proxy always runs on the same machine as the internal cache server
This commit is contained in:
Andrew Cassidy 2025-10-13 18:59:52 -07:00
parent 2d359067f6
commit bfb2637600
No known key found for this signature in database

View file

@ -117,7 +117,7 @@ func setupCache(cfg *config.Config, envs map[string]string) *cacheproxy.Handler
cacheServer, err := artifactcache.StartHandler(
cfg.Cache.Dir,
cfg.Cache.Host,
"localhost",
cfg.Cache.Port,
cacheSecret,
log.StandardLogger().WithField("module", "cache_request"),