mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix adding a container to a network
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
343eebbbcd
commit
2733f115ec
1 changed files with 4 additions and 1 deletions
|
|
@ -456,9 +456,12 @@ class DockerActionManager
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (RequestException $e) {
|
} catch (RequestException $e) {
|
||||||
|
// 403 is undocumented and gets thrown if a specific container is already part of a network
|
||||||
|
if ($e->getCode() !== 403) {
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function ConnectMasterContainerToNetwork()
|
public function ConnectMasterContainerToNetwork()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue