diff --git a/src/Brancher/BrancherHypernodeManager.php b/src/Brancher/BrancherHypernodeManager.php index b30f08a..cb82ef2 100644 --- a/src/Brancher/BrancherHypernodeManager.php +++ b/src/Brancher/BrancherHypernodeManager.php @@ -128,7 +128,7 @@ public function waitForAvailability(string $brancherHypernode, int $timeout = 15 try { $flows = $this->hypernodeClient->logbook->getList($brancherHypernode); - $relevantFlows = array_filter($flows, fn(Flow $flow) => $flow->name === 'ensure_app'); + $relevantFlows = array_filter($flows, fn(Flow $flow) => in_array($flow->name, ["ensure_app", "ensure_copied_app"], true)); $failedFlows = array_filter($relevantFlows, fn(Flow $flow) => $flow->isReverted()); $completedFlows = array_filter($relevantFlows, fn(Flow $flow) => $flow->isComplete());