mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Add check_duplicate=True when creating network
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
d8194cf6f0
commit
395dce9d2c
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ class Network(object):
|
|||
enable_ipv6=self.enable_ipv6,
|
||||
labels=self._labels,
|
||||
attachable=version_gte(self.client._version, '1.24') or None,
|
||||
check_duplicate=True,
|
||||
)
|
||||
|
||||
def remove(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue