Skip to content

Commit 9a5cd85

Browse files
ulfjackcopybara-github
authored andcommitted
Fix order of build request id and command id
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
1 parent ec7ecd7 commit 9a5cd85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/devtools/build/lib/remote/RemoteModule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private static void verifyServerCapabilities(
177177
retrier);
178178
ServerCapabilities capabilities = null;
179179
try {
180-
capabilities = rsc.get(env.getCommandId().toString(), env.getBuildRequestId());
180+
capabilities = rsc.get(env.getBuildRequestId(), env.getCommandId().toString());
181181
} catch (InterruptedException e) {
182182
Thread.currentThread().interrupt();
183183
return;

0 commit comments

Comments
 (0)