fix adding a container to a network

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-01-21 14:36:43 +01:00
parent 343eebbbcd
commit 2733f115ec

View file

@ -456,7 +456,10 @@ class DockerActionManager
]
);
} catch (RequestException $e) {
throw $e;
// 403 is undocumented and gets thrown if a specific container is already part of a network
if ($e->getCode() !== 403) {
throw $e;
}
}
}