aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOla Rozenfeld <olaola@google.com>2019-01-07 18:09:23 -0500
committerGitHub <noreply@github.com>2019-01-07 18:09:23 -0500
commit5e262600ad9defeb111a51910fee7ef9b0cf1fea (patch)
treef50eae30a788be824611b3acd25e819843c6813c
parent78c169a474e24fd52c73c78fa7ee08295f39fe56 (diff)
downloadbazelbuild-remote-apis-5e262600ad9defeb111a51910fee7ef9b0cf1fea.tar.gz
Add reserved keywords to instance name segments. Fixes #41. (#45)
-rw-r--r--build/bazel/remote/execution/v2/remote_execution.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/bazel/remote/execution/v2/remote_execution.proto b/build/bazel/remote/execution/v2/remote_execution.proto
index 9f177de..7e23c6d 100644
--- a/build/bazel/remote/execution/v2/remote_execution.proto
+++ b/build/bazel/remote/execution/v2/remote_execution.proto
@@ -209,6 +209,9 @@ service ActionCache {
// by the server. For servers which do not support multiple instances, then the
// `instance_name` is the empty path and the leading slash is omitted, so that
// the `resource_name` becomes `uploads/{uuid}/blobs/{hash}/{size}`.
+// To simplify parsing, a path segment cannot equal any of the following
+// keywords: `blobs`, `uploads`, `actions`, `actionResults`, `operations` and
+// `capabilities`.
//
// When attempting an upload, if another client has already completed the upload
// (which may occur in the middle of a single upload if another client uploads