1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

increase nginx timeout. Enable live snapshot.

This commit is contained in:
catborise 2020-11-06 14:30:41 +03:00
parent 9aed7c7716
commit 4b7554ea14
4 changed files with 16 additions and 28 deletions

View file

@ -1063,11 +1063,7 @@ def clone(request, pk):
}
messages.error(request, msg)
elif check_instance:
<<<<<<< HEAD
msg = _("Instance '%(clone_name)s' already exists!") % {"clone_name": clone_data["name"]}
=======
msg = _("Instance '%(clone_name)s' already exists!") % {'clone_name': clone_data['name']}
>>>>>>> 159e06221af435700047a8e5ababe758a12d7579
messages.error(request, msg)
elif not re.match(r"^[a-zA-Z0-9-]+$", clone_data["name"]):
msg = _("Instance name '%(clone_name)s' contains invalid characters!") % {"clone_name": clone_data["name"]}