Skip to content

Commit 7400356

Browse files
committed
BrancherHypernodeManager: Only query non-destroyed apps
1 parent 7df5796 commit 7400356

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Brancher/BrancherHypernodeManager.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ public function queryBrancherHypernodes(string $hypernode, array $labels = []):
3333
{
3434
$result = [];
3535

36-
$hypernodes = $this->hypernodeClient->app->getList(['parent' => $hypernode, 'type' => 'brancher']);
36+
$hypernodes = $this->hypernodeClient->app->getList([
37+
'parent' => $hypernode,
38+
'type' => 'brancher',
39+
'destroyed' => 'False',
40+
]);
3741
foreach ($hypernodes as $brancher) {
3842
$match = true;
3943

0 commit comments

Comments
 (0)