chore(3p/nix/proto): Fix style violations in new proto defs
This is a blocker to enabling the linter. Change-Id: I9f8d3cc19c7539086f53474a505362230fc56c04 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1245 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
39ab9d8fc6
commit
af47a89d6f
2 changed files with 7 additions and 7 deletions
|
@ -7,9 +7,9 @@ namespace nix::daemon {
|
||||||
using ::grpc::Status;
|
using ::grpc::Status;
|
||||||
using ::nix::proto::StorePath;
|
using ::nix::proto::StorePath;
|
||||||
using ::nix::proto::StorePaths;
|
using ::nix::proto::StorePaths;
|
||||||
using ::nix::proto::Worker;
|
using ::nix::proto::WorkerService;
|
||||||
|
|
||||||
class WorkerServiceImpl final : public Worker::Service {
|
class WorkerServiceImpl final : public WorkerService::Service {
|
||||||
public:
|
public:
|
||||||
WorkerServiceImpl(nix::Store* store) : store_(store) {}
|
WorkerServiceImpl(nix::Store* store) : store_(store) {}
|
||||||
|
|
||||||
|
|
10
third_party/nix/src/proto/worker.proto
vendored
10
third_party/nix/src/proto/worker.proto
vendored
|
@ -7,7 +7,7 @@ package nix.proto;
|
||||||
|
|
||||||
// Service representing a worker used for building and interfacing
|
// Service representing a worker used for building and interfacing
|
||||||
// with the Nix store.
|
// with the Nix store.
|
||||||
service Worker {
|
service WorkerService {
|
||||||
// Validates whether the supplied path is a valid store path.
|
// Validates whether the supplied path is a valid store path.
|
||||||
rpc IsValidPath(StorePath) returns (IsValidPathResponse);
|
rpc IsValidPath(StorePath) returns (IsValidPathResponse);
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ message HashPart {
|
||||||
message VerifyStoreRequest {
|
message VerifyStoreRequest {
|
||||||
bool repair = 1;
|
bool repair = 1;
|
||||||
// TODO(grfn): Remove double-negative
|
// TODO(grfn): Remove double-negative
|
||||||
bool dontCheckSigs = 2;
|
bool dont_check_sigs = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message VerifyStoreResponse {
|
message VerifyStoreResponse {
|
||||||
|
@ -289,13 +289,13 @@ message VerifyStoreResponse {
|
||||||
|
|
||||||
message BuildDerivationRequest {
|
message BuildDerivationRequest {
|
||||||
// Only used for informational purposes.
|
// Only used for informational purposes.
|
||||||
StorePath drvPath = 1;
|
StorePath drv_path = 1;
|
||||||
BuildMode buildMode = 2;
|
BuildMode build_mode = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BuildDerivationResponse {
|
message BuildDerivationResponse {
|
||||||
BuildStatus status = 1;
|
BuildStatus status = 1;
|
||||||
string errorMessage = 2;
|
string error_message = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AddToStoreNarRequest {
|
message AddToStoreNarRequest {
|
||||||
|
|
Loading…
Reference in a new issue