Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 5cbbff3

Browse files
committed
fix scheme
1 parent c64702b commit 5cbbff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-aws-cloud-map-service-discovery/src/main/java/org/springframework/cloud/aws/cloudmap/AwsCloudMapServiceInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public boolean isSecure() {
6565
@Override
6666
public URI getUri() {
6767
String scheme = isSecure() ? "https" : "http";
68-
return URI.create(String.format("%s:%s/%s", scheme, getHost(), getPort()));
68+
return URI.create(String.format("%s://%s/%s", scheme, getHost(), getPort()));
6969
}
7070

7171
@Override

0 commit comments

Comments
 (0)