Hi Gary,
Ack.

Thanks
-Nagendra
High Availability Solutions
www.hasolutions.in
cont...@hasolutions.in
Hyderabad, India: +91-9866424860   |   Delaware, USA: +1 508-422-7725

-----Original Message-----
From: Gary Lee [mailto:gary....@dektech.com.au] 
Sent: 16 November 2018 05:08
To: hans.nordeb...@ericsson.com; nagen...@hasolutions.in;
minh.c...@dektech.com.au
Cc: opensaf-devel@lists.sourceforge.net; Gary Lee
Subject: [PATCH 1/1] amfd: set node failover state correctly on standby
[#2963]

---
 src/amf/amfd/node_state_machine.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amf/amfd/node_state_machine.cc
b/src/amf/amfd/node_state_machine.cc
index 478ad2a48..c5d86d33c 100644
--- a/src/amf/amfd/node_state_machine.cc
+++ b/src/amf/amfd/node_state_machine.cc
@@ -80,7 +80,7 @@ void NodeStateMachine::SetState(uint32_t state) {
       state_ = std::make_shared<FailedFound>(this);
       break;
     case NodeState::kEnd:
-      state_ = std::make_shared<FailedFound>(this);
+      state_ = std::make_shared<End>(this);
       cb_->failover_list.erase(node_id_);
       break;
     default:
-- 
2.17.1




_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to