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