mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 17:15:13 +01:00
Fix bug with unloaded server delete
This commit is contained in:
parent
ec1076fbce
commit
c0381da880
@ -138,6 +138,7 @@ class ApiServersServerIndexHandler(BaseApiHandler):
|
||||
for item in self.controller.servers.failed_servers[:]:
|
||||
if item["server_id"] == int(server_id):
|
||||
self.controller.servers.failed_servers.remove(item)
|
||||
failed = True
|
||||
|
||||
if failed:
|
||||
self.controller.remove_unloaded_server(server_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user