forked from p15670423/monkey
Island: Remove unused `set_node_group()` in NodeService
This commit is contained in:
parent
5e3829aab3
commit
a3eb0bc6f2
|
@ -172,10 +172,6 @@ class NodeService:
|
|||
"os": NodeService.get_node_os(node),
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def set_node_group(node_id: str, node_group: NodeStates):
|
||||
mongo.db.node.update({"_id": node_id}, {"$set": {"group": node_group.value}}, upsert=False)
|
||||
|
||||
@staticmethod
|
||||
def unset_all_monkey_tunnels(monkey_id):
|
||||
mongo.db.monkey.update({"_id": monkey_id}, {"$unset": {"tunnel": ""}}, upsert=False)
|
||||
|
|
Loading…
Reference in New Issue