mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-27 18:52:23 +02:00
Add running project check for fast duplication
This commit is contained in:
parent
b6e1f84740
commit
7ab04a0f9a
@ -1334,9 +1334,6 @@ class Project:
|
|||||||
self.dump()
|
self.dump()
|
||||||
assert self._status != "closed"
|
assert self._status != "closed"
|
||||||
|
|
||||||
if self.is_running():
|
|
||||||
raise ControllerError("Project must be stopped in order to duplicate it")
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proj = await self._fast_duplication(name, reset_mac_addresses)
|
proj = await self._fast_duplication(name, reset_mac_addresses)
|
||||||
if proj:
|
if proj:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user