summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetector.java2
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 {