mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #160 from nextcloud/fix-adding-container-to-network
fix adding a container to a network
This commit is contained in:
commit
92a7b156a7
1 changed files with 4 additions and 1 deletions
|
|
@ -456,7 +456,10 @@ class DockerActionManager
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} catch (RequestException $e) {
|
} 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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue