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
commit 92a7b156a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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