From fb4e2c482c565634b019343199967029d04c305b Mon Sep 17 00:00:00 2001 From: Siggi Date: Tue, 9 Feb 2021 16:10:00 -0800 Subject: [PATCH] Don't set a default remoteCache to allow for builds without a cache (there's no default cacheDir) --- cmd/sidecar/sidecar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sidecar/sidecar.go b/cmd/sidecar/sidecar.go index ad29701..d133d79 100644 --- a/cmd/sidecar/sidecar.go +++ b/cmd/sidecar/sidecar.go @@ -33,7 +33,7 @@ var ( listenAddr = flag.String("listen_addr", "localhost:1991", "Local address to listen on.") besBackend = flag.String("bes_backend", "grpcs://cloud.buildbuddy.io:443", "Server address to proxy build events to.") - remoteCache = flag.String("remote_cache", "grpcs://cloud.buildbuddy.io:443", "Server address to cache events to.") + remoteCache = flag.String("remote_cache", "", "Server address to cache events to.") cacheDir = flag.String("cache_directory", "", "Root directory to use for local cache") cacheMaxSizeBytes = flag.Int64("cache_max_size_bytes", 0, "Max cache size, in bytes")