Update retrieval of applications and services in Deploy controller
This commit is contained in:
parent
9b9e5e939c
commit
6869c582ff
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ public function by_tags(string $tags, int $team_id, bool $force = false)
|
||||||
$message->push("Tag {$tag} not found.");
|
$message->push("Tag {$tag} not found.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$applications = $found_tag->applications();
|
$applications = $found_tag->applications()->get();
|
||||||
$services = $found_tag->services();
|
$services = $found_tag->services()->get();
|
||||||
if ($applications->count() === 0 && $services->count() === 0) {
|
if ($applications->count() === 0 && $services->count() === 0) {
|
||||||
$message->push("No resources found for tag {$tag}.");
|
$message->push("No resources found for tag {$tag}.");
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue