diff options
author | 2017-12-19 05:50:11 -0800 | |
---|---|---|
committer | 2017-12-19 05:51:45 -0800 | |
commit | 905e30721ad566c3a940afbec06d73b134d5f064 (patch) | |
tree | 5d82f18e94549764c0c4bc2162ba2a2093a88c6a /src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java | |
parent | 8d92cd83c3399d78825c5d9c7fe43c6e8990f38d (diff) |
remote: Rename --remote_rest_cache to --remote_http_cache
Call it what it is.
RELNOTES: --remote_rest_cache was renamed to --remote_http_cache. Both
options keep working in this release, but --remote_rest_cache will be
removed in the next release.
Change-Id: I9e0b947f2184e0d543e7e19c5c33b6aa851d47d2
PiperOrigin-RevId: 179542826
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java index 93eb95cc88..4b257d7ac4 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java @@ -27,16 +27,17 @@ import com.google.protobuf.TextFormat.ParseException; /** Options for remote execution and distributed caching. */ public final class RemoteOptions extends OptionsBase { @Option( - name = "remote_rest_cache", + name = "remote_http_cache", + oldName = "remote_rest_cache", defaultValue = "null", category = "remote", documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, effectTags = {OptionEffectTag.UNKNOWN}, help = - "A base URL for a RESTful cache server for storing build artifacts. " - + "It has to support PUT, GET, and HEAD requests." + "A base URL of a HTTP caching service. Both http:// and https:// are supported. BLOBs are " + + "stored with PUT and retrieved with GET. See remote/README.md for more information." ) - public String remoteRestCache; + public String remoteHttpCache; @Option( name = "remote_rest_cache_pool_size", |