diff options
author | Reo Inoue <inoue.reo@jp.fujitsu.com> | 2020-04-20 16:20:49 +0900 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-04-22 11:01:42 +0000 |
commit | 27d169b34e81a9d42eaa0b7aab3797227a379f30 (patch) | |
tree | 16386cddb949ae57fd61f84ac3160b90b169b1f3 /catalog-be | |
parent | 60c01004daf199820825f9bf345a3ed8a96f8933 (diff) |
Fix bug for class SwitchoverDetector
Signed-off-by: Reo Inoue <inoue.reo@jp.fujitsu.com>
Issue-ID: SDC-2931
Change-Id: I6b40f538ff9ce7eed22ce71c542b188a8c866f26
Diffstat (limited to 'catalog-be')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java b/catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java index f2f1668fb6..cbcbb03480 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java @@ -127,7 +127,7 @@ public class SwitchoverDetector { beMatch = queryBe(); feMatch = queryFe(); - if (beMatch == feMatch && beMatch != null) { + if (beMatch != null && beMatch.equals(feMatch)) { if (beMatch) { setSiteMode(SwitchoverDetectorState.ACTIVE.getState()); } else { |