Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
ddb09c49
Commit
ddb09c49
authored
Aug 11, 2015
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #485 from jghiloni/master
* pull485: Make `isSecure()` match `getPort()` in secure vs non-secure resolution
parents
9e40714e
539ca47b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
EurekaDiscoveryClient.java
...framework/cloud/netflix/eureka/EurekaDiscoveryClient.java
+2
-1
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaDiscoveryClient.java
View file @
ddb09c49
...
@@ -121,7 +121,8 @@ public class EurekaDiscoveryClient implements DiscoveryClient {
...
@@ -121,7 +121,8 @@ public class EurekaDiscoveryClient implements DiscoveryClient {
@Override
@Override
public
boolean
isSecure
()
{
public
boolean
isSecure
()
{
return
this
.
instance
.
isPortEnabled
(
SECURE
);
// assume if unsecure is enabled, that is the default
return
!
this
.
instance
.
isPortEnabled
(
UNSECURE
)
&&
this
.
instance
.
isPortEnabled
(
SECURE
);
}
}
@Override
@Override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment