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.");
|
||||
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 a new issue