mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-03 09:20:09 +00:00
Merge pull request #159 from nextcloud/enh/fix-network-creation
Catch undocumented case when network already exists
This commit is contained in:
@@ -436,7 +436,10 @@ class DockerActionManager
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (RequestException $e) {
|
} catch (RequestException $e) {
|
||||||
throw $e;
|
// 409 is undocumented and gets thrown if the network already exists.
|
||||||
|
if ($e->getCode() !== 409) {
|
||||||
|
throw $e;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = $this->BuildApiUrl(
|
$url = $this->BuildApiUrl(
|
||||||
|
|||||||
Reference in New Issue
Block a user