Merge pull request #160 from nextcloud/fix-adding-container-to-network

fix adding a container to a network
This commit is contained in:
Simon L
2022-01-21 14:37:48 +01:00
committed by GitHub

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;
}
}
}