Skip to content

Commit

Permalink
Defaulting to HTTPS when RV_SCHEME is not provided (#655)
Browse files Browse the repository at this point in the history
Defaulting to HTTPS when RV_SCHEME is not provided.

Signed-off-by: Benny <[email protected]>
  • Loading branch information
DukeDavis12 authored Nov 14, 2023
1 parent 49a5d12 commit b73a343
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ public static List<HttpInstruction> getInstructions(RendezvousInfo info, boolean
}
}

if (devSchemes.isEmpty()) {
devSchemes.add(HTTPS_SCHEME);
}
//done getting both
if (!isDevice && devOnly) {
continue;
Expand All @@ -182,9 +185,6 @@ public static List<HttpInstruction> getInstructions(RendezvousInfo info, boolean
continue;
}

if (dns == null && ipAddress == null) {
continue;
}
if (dns == null && ipAddress == null) {
continue;
}
Expand Down

0 comments on commit b73a343

Please sign in to comment.