Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Keepalive Service setName
Browse files Browse the repository at this point in the history
  • Loading branch information
svensp committed Aug 20, 2019
1 parent f453265 commit d250c92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Blueprint/Keepalive/KeepaliveService.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public function takeOver()
$this->tty = true;
$this->keepStdin = true;

$targetService = $this->targetService;
$this->setName(function() use ($targetService) {
return 'Keepalive-'.$targetService->getName();
});

$this->copySidekicks($this->targetService);
$this->targetService->resetSidekicks();
$this->copyLabels($this->targetService);
Expand Down

0 comments on commit d250c92

Please sign in to comment.