Skip to content

Commit

Permalink
Fix order of build request id and command id
Browse files Browse the repository at this point in the history
They should be in this order rather than the other way round.

See `RemoteServerCapabilities.get`.

Change-Id: I4be952cc2ad43ae35c7052bd26b153b1e887e562

Closes bazelbuild#13237.

Change-Id: I4be952cc2ad43ae35c7052bd26b153b1e887e562
PiperOrigin-RevId: 364266202
  • Loading branch information
ulfjack authored and copybara-github committed Mar 22, 2021
1 parent ec7ecd7 commit 9a5cd85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private static void verifyServerCapabilities(
retrier);
ServerCapabilities capabilities = null;
try {
capabilities = rsc.get(env.getCommandId().toString(), env.getBuildRequestId());
capabilities = rsc.get(env.getBuildRequestId(), env.getCommandId().toString());
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
return;
Expand Down

0 comments on commit 9a5cd85

Please sign in to comment.