Skip to content

Commit

Permalink
Fix checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
klustria committed Jan 6, 2024
1 parent 84b4c58 commit 8af9186
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@Singleton
@Weight(ServiceInfoBasics.DEFAULT_INJECT_WEIGHT)
class OciAvailabilityDefault implements OciAvailability {
static String OPC_PATH = getOpcPath();
private static final String OPC_PATH = getOpcPath();

@Override
public boolean isRunningOnOci(OciConfig ociConfig) {
Expand Down Expand Up @@ -74,7 +74,7 @@ static boolean canReach(String address,
}
}

static String getOpcPath() {
private static String getOpcPath() {
String input = METADATA_SERVICE_BASE_URL;
int index = -1;
for (int nth = 3; nth > 0; nth--) {
Expand Down

0 comments on commit 8af9186

Please sign in to comment.