test remove instance function
This commit is contained in:
parent
67824caafb
commit
a1377a5962
@ -12,7 +12,7 @@ The program needs to run as root.
|
||||
Todos
|
||||
====
|
||||
- [x] improve log reading efficiency, potentially using pytailer
|
||||
- [ ] remove instance or change configuration
|
||||
- [x] remove instance or change configuration
|
||||
- [ ] improve ui using template, move to ajax
|
||||
- [ ] parameterize inline constants
|
||||
- [ ] refractor code
|
||||
|
||||
@ -91,6 +91,8 @@ class OManager:
|
||||
instance["op"].stop()
|
||||
instance["weight"] = 0
|
||||
self.instances.remove(instance)
|
||||
if len(self.instances)==0:
|
||||
self.new_idx = 0
|
||||
self.reset_lb()
|
||||
|
||||
def remove_all_op(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user