diff --git a/prog/lantern/lantern_server_nexus.rb b/prog/lantern/lantern_server_nexus.rb index fc88c9f65..e220f6718 100644 --- a/prog/lantern/lantern_server_nexus.rb +++ b/prog/lantern/lantern_server_nexus.rb @@ -124,7 +124,7 @@ def before_run end # wait for service account to be created - nap 10 if lantern_server.timeline.strand.label != "wait_leader" + nap 10 if lantern_server.timeline.strand.label == "start" case vm.sshable.cmd("common/bin/daemonizer --check configure_lantern") when "Succeeded" @@ -212,7 +212,7 @@ def before_run end label def wait_timeline_available - nap 10 if lantern_server.timeline.strand.label != "wait_leader" + nap 10 if lantern_server.timeline.strand.label == "start" lantern_server.update_walg_creds decr_initial_provisioning hop_wait_db_available