summaryrefslogtreecommitdiffstats
path: root/auth/auth-certman/src/main/java/org
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-07-20 17:15:37 -0500
committerInstrumental <jonathan.gathman@att.com>2018-07-20 17:16:45 -0500
commit5fc856cfdaca08604d05ff1656c5952cf02c85a5 (patch)
tree5cac4ca381012a207f144ab733e6bb6e62ec55f5 /auth/auth-certman/src/main/java/org
parent047edb5a4312cc7dfb3172b7e11ab1a9e2315ba2 (diff)
Cover change from past merges
Issue-ID: AAF-378 Change-Id: I6c60b55ce2781979b11f68d79ebf851d26167b4a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-certman/src/main/java/org')
-rw-r--r--auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/service/CMService.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/service/CMService.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/service/CMService.java
index 744c3c3f..259dfac9 100644
--- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/service/CMService.java
+++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/service/CMService.java
@@ -164,9 +164,7 @@ public class CMService {
} else {
for (String cn : req.value.fqdns) {
- if(ignoreIPs) {
- potentialSanNames.add(cn);
- } else {
+ if(!ignoreIPs) {
try {
InetAddress[] ias = InetAddress.getAllByName(cn);
Set<String> potentialSanNames = new HashSet<>();