From 9a5cd854e0613f91d52075973e2454b1e009e1ef Mon Sep 17 00:00:00 2001 From: Ulf Adams Date: Mon, 22 Mar 2021 02:01:26 -0700 Subject: [PATCH] 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 --- .../java/com/google/devtools/build/lib/remote/RemoteModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteModule.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteModule.java index c3489dd730d98d..e8b5a94c59237e 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteModule.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteModule.java @@ -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;