X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=blobdiff_plain;f=monitor%2Fwrapper%2Fplccache.py;h=dbfb7e0375ea251e1fa2cd6877a9d4e4be6c8845;hp=72500ce4cfbc67b3934db503db1a9dca8ff12979;hb=ba879e2b3d0b404492fe35a74c4a40f6d95452e1;hpb=5684d125af2ff554c960c402447cf871396108c6 diff --git a/monitor/wrapper/plccache.py b/monitor/wrapper/plccache.py index 72500ce..dbfb7e0 100755 --- a/monitor/wrapper/plccache.py +++ b/monitor/wrapper/plccache.py @@ -184,6 +184,8 @@ def sync(): dbnode.plc_node_stats = node deleteExtra(l_nodes, PlcNode, 'node_id', 'node_id') deleteExtra(l_nodes, HistoryNodeRecord, 'plc_nodeid', 'node_id') + deleteExtra(l_nodes, PlcNode, 'hostname', 'hostname') + deleteExtra(l_nodes, HistoryNodeRecord, 'hostname', 'hostname') deleteExtra(l_nodes, FindbadNodeRecord, 'hostname', 'hostname') session.flush()