summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-02-04 23:14:45 +0000
committerGerrit Code Review <review@openstack.org>2019-02-04 23:14:45 +0000
commiteebb87935832b269d2faa037caaa67ae7c1c2d99 (patch)
tree556dd829dfe1d789520820bef703a6b92815facd
parent4851c8658a4846bd1211d36cee7e95c285530f78 (diff)
parent8350ded5fcd9f48e7dbcdde68c70557971e0d3d8 (diff)
Merge "Fix a major logic error"
-rw-r--r--service-mgmt/sm-1.0.0/src/sm_failover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/service-mgmt/sm-1.0.0/src/sm_failover.c b/service-mgmt/sm-1.0.0/src/sm_failover.c
index 08f8ac8..37a25c2 100644
--- a/service-mgmt/sm-1.0.0/src/sm_failover.c
+++ b/service-mgmt/sm-1.0.0/src/sm_failover.c
@@ -922,13 +922,13 @@ void sm_failover_audit()
922 922
923 bool in_transition = false; 923 bool in_transition = false;
924 bool infra_configured = is_infra_configured(); 924 bool infra_configured = is_infra_configured();
925 in_transition = in_transition && 925 in_transition = in_transition ||
926 sm_failover_if_transit_state(_mgmt_interface_info); 926 sm_failover_if_transit_state(_mgmt_interface_info);
927 in_transition = in_transition && 927 in_transition = in_transition ||
928 sm_failover_if_transit_state(_oam_interface_info); 928 sm_failover_if_transit_state(_oam_interface_info);
929 if( infra_configured ) 929 if( infra_configured )
930 { 930 {
931 in_transition = in_transition && 931 in_transition = in_transition ||
932 sm_failover_if_transit_state(_infra_interface_info); 932 sm_failover_if_transit_state(_infra_interface_info);
933 } 933 }
934 934