Skip to content

Commit

Permalink
remove DisconnectContainerFromBridgeNetwork
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Jan 28, 2025
1 parent 917f9c3 commit 92d6749
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions php/src/Docker/DockerActionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,27 +840,6 @@ public function sendNotification(Container $container, string $subject, string $
}
}

// private function DisconnectContainerFromBridgeNetwork(string $id) : void
// {

// $url = $this->BuildApiUrl(
// sprintf('networks/%s/disconnect', 'bridge')
// );

// try {
// $this->guzzleClient->request(
// 'POST',
// $url,
// [
// 'json' => [
// 'container' => $id,
// ],
// ]
// );
// } catch (RequestException $e) {
// }
// }

private function ConnectContainerIdToNetwork(string $id, string $internalPort, string $network = 'nextcloud-aio', bool $createNetwork = true, string $alias = '') : void
{
if ($internalPort === 'host') {
Expand Down

0 comments on commit 92d6749

Please sign in to comment.