Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
  • Loading branch information
saratvemulapalli committed Apr 26, 2021
1 parent 6fc52ed commit 82a3128
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions buildSrc/src/main/java/org/opensearch/gradle/Jdk.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,7 @@ private String translateJdkArchitecture(String architecture) {
/*
* Jdk uses aarch64 from ARM. Translating from arm64 to aarch64 which Jdk understands.
*/
if (architecture == "arm64") {
return "aarch64";
} else {
return architecture;
}
return architecture == "arm64" ? "aarch64" : architecture;
}

}

0 comments on commit 82a3128

Please sign in to comment.