about summary refs log tree commit diff
path: root/third_party/nix/src/proto/worker.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/proto/worker.proto')
-rw-r--r--third_party/nix/src/proto/worker.proto10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto
index 32df488a5d8a..6d4b2a9547f1 100644
--- a/third_party/nix/src/proto/worker.proto
+++ b/third_party/nix/src/proto/worker.proto
@@ -7,7 +7,7 @@ package nix.proto;
 
 // Service representing a worker used for building and interfacing
 // with the Nix store.
-service Worker {
+service WorkerService {
   // Validates whether the supplied path is a valid store path.
   rpc IsValidPath(StorePath) returns (IsValidPathResponse);
 
@@ -279,7 +279,7 @@ message HashPart {
 message VerifyStoreRequest {
   bool repair = 1;
   // TODO(grfn): Remove double-negative
-  bool dontCheckSigs = 2;
+  bool dont_check_sigs = 2;
 }
 
 message VerifyStoreResponse {
@@ -289,13 +289,13 @@ message VerifyStoreResponse {
 
 message BuildDerivationRequest {
   // Only used for informational purposes.
-  StorePath drvPath = 1;
-  BuildMode buildMode = 2;
+  StorePath drv_path = 1;
+  BuildMode build_mode = 2;
 }
 
 message BuildDerivationResponse {
   BuildStatus status = 1;
-  string errorMessage = 2;
+  string error_message = 2;
 }
 
 message AddToStoreNarRequest {