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

Commit

Permalink
reset links of services wrapped by a keepalive service
Browse files Browse the repository at this point in the history
  • Loading branch information
svensp committed Aug 27, 2019
1 parent a6bfb83 commit a06c3ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Blueprint/Keepalive/KeepaliveService.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public function takeOver()
});

$this->externalLinks = $targetService->externalLinks;
$this->links = $targetService->links;
$targetService->externalLinks = [];
$targetService->links = [];
$this->copySidekicks($this->targetService);
$this->addSidekick($this->targetService);
// copy volumes from so volume-from sidekicks are also added
Expand Down

0 comments on commit a06c3ef

Please sign in to comment.