mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #159 from nextcloud/enh/fix-network-creation
Catch undocumented case when network already exists
This commit is contained in:
commit
343eebbbcd
1 changed files with 4 additions and 1 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue