Skip to content

Commit 55dc065

Browse files
authored
Merge pull request #140 from ByteInternet/ensure-copied-app
brancher polling waits for ensure_copied_app
2 parents fe68f78 + 75db12c commit 55dc065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Brancher/BrancherHypernodeManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function waitForAvailability(string $brancherHypernode, int $timeout = 15
128128

129129
try {
130130
$flows = $this->hypernodeClient->logbook->getList($brancherHypernode);
131-
$relevantFlows = array_filter($flows, fn(Flow $flow) => $flow->name === 'ensure_app');
131+
$relevantFlows = array_filter($flows, fn(Flow $flow) => in_array($flow->name, ["ensure_app", "ensure_copied_app"], true));
132132
$failedFlows = array_filter($relevantFlows, fn(Flow $flow) => $flow->isReverted());
133133
$completedFlows = array_filter($relevantFlows, fn(Flow $flow) => $flow->isComplete());
134134

0 commit comments

Comments
 (0)