Cover change from past merges
[aaf/authz.git] / auth / auth-certman / src / main / java / org / onap / aaf / auth / cm / service / CMService.java
index 744c3c3..259dfac 100644 (file)
@@ -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<>();