From dab00296aa27fe4dacccee00b16139c92f6bd29a Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Wed, 4 Sep 2019 21:23:48 +0200 Subject: [PATCH] End transitions are now properly notified --- main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.cpp b/main.cpp index 324c7fa4..e4d22e40 100644 --- a/main.cpp +++ b/main.cpp @@ -48,11 +48,8 @@ int main(int argc, char *argv[]) { auto [ec, states] = fairmqTopo.ChangeState(transition, std::chrono::milliseconds(300)); if (!ec) { - // End transition does not yet wait for devices to acknowledge in v1.4.8 - if (transition != TopologyTransition::End) { - LOG(info) << states.size() << " devices transitioned to " - << fair::mq::sdk::AggregateState(states); - } + LOG(info) << states.size() << " devices transitioned to " + << fair::mq::sdk::AggregateState(states); } else { LOG(error) << ec; return ec.value();