style(tvix): Move a comment to fix a formatting issue
Change-Id: Idd490b978c07d1b1113ee97b5d19719a27436fba Reviewed-on: https://cl.tvl.fyi/c/depot/+/1822 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
bbacf03a3a
commit
375c1c2a4e
1 changed files with 3 additions and 4 deletions
7
third_party/nix/src/libstore/remote-store.cc
vendored
7
third_party/nix/src/libstore/remote-store.cc
vendored
|
@ -469,10 +469,9 @@ absl::Status RemoteStore::buildPaths(std::ostream& /* log_sink */,
|
|||
conn->to << drvPaths;
|
||||
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 15) {
|
||||
conn->to << build_mode;
|
||||
} else
|
||||
/* Old daemons did not take a 'buildMode' parameter, so we
|
||||
need to validate it here on the client side. */
|
||||
if (build_mode != bmNormal) {
|
||||
} else if (build_mode != bmNormal) {
|
||||
/* Old daemons did not take a 'buildMode' parameter, so we
|
||||
need to validate it here on the client side. */
|
||||
return absl::Status(
|
||||
absl::StatusCode::kInvalidArgument,
|
||||
"repairing or checking is not supported when building through the "
|
||||
|
|
Loading…
Reference in a new issue