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 #13237.

Change-Id: I4be952cc2ad43ae35c7052bd26b153b1e887e562
PiperOrigin-RevId: 364266202
  • Loading branch information
ulfjack authored and philwo committed Apr 19, 2021
1 parent 73229a5 commit 18e1887
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,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 18e1887

Please sign in to comment.