From 0e302ed774f4c371b9414fe99836836f775b688d Mon Sep 17 00:00:00 2001 From: Instrumental Date: Tue, 16 Jul 2019 04:02:30 -0500 Subject: Reduce Docker Layers Issue-ID: AAF-873 Change-Id: I590b5df27ce3266c2dac2200864ad5186da16114 Signed-off-by: Instrumental --- .../src/main/java/org/onap/aaf/auth/cm/service/CMService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/auth-certman/src/main/java/org/onap') 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 85424de1..893a6b17 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 @@ -286,7 +286,7 @@ public class CMService { // Make sure Primary is the first in fqdns if (fqdns.size() > 1) { for (int i = 0; i < fqdns.size(); ++i) { - if (primary==null) { + if (primary==null && !ignoreIPs) { trans.error().log("CMService var primary is null"); } else { String fg = fqdns.get(i); -- cgit 1.2.3-korg