osaf/services/saf/amf/amfd/nodegroup.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/nodegroup.cc
b/osaf/services/saf/amf/amfd/nodegroup.cc
--- a/osaf/services/saf/amf/amfd/nodegroup.cc
+++ b/osaf/services/saf/amf/amfd/nodegroup.cc
@@ -874,8 +874,8 @@
if (iter1 != tmp_sg_list.end())
continue;
- AVD_SU *su = sg->list_of_su;
- for (su_try_inst = 0; su != NULL; su =
su->sg_list_su_next) {
+ su_try_inst = 0;
+ for (const auto& su : sg->list_of_su) {
//Continue if this SU is not hosted on the Node
of NG.
if
(node_in_nodegroup(Amf::to_string(&su->su_on_node->name), ng) == false)
continue;
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel