File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11sphinx == 3.4.3
22sphinx-rtd-theme >= 0.5.2
33docutils >= 0.14 ,< 0.18
4+ urllib3 < 2
Original file line number Diff line number Diff line change @@ -220,12 +220,13 @@ static void action_join (struct state_machine *s)
220220 sd_notifyf (0 ,
221221 "STATUS=Joining Flux instance via %s" ,
222222 overlay_get_parent_uri (s -> ctx -> overlay ));
223- if (s -> ctx -> rank > 0 )
224- sd_notify (0 , "READY=1" );
225223 }
226224#endif
227225 join_check_parent (s );
228226 }
227+ #if HAVE_LIBSYSTEMD
228+ sd_notify (0 , "READY=1" );
229+ #endif
229230}
230231
231232static void quorum_timer_cb (flux_reactor_t * r ,
@@ -365,8 +366,6 @@ static void action_run (struct state_machine *s)
365366 "STATUS=Running as %s of %d node Flux instance" ,
366367 s -> ctx -> rank == 0 ? "leader" : "member" ,
367368 (int )s -> ctx -> size );
368- if (s -> ctx -> rank == 0 )
369- sd_notify (0 , "READY=1" );
370369 }
371370#endif
372371}
You can’t perform that action at this time.
0 commit comments