Small fixes
This commit is contained in:
parent
7d34c290cc
commit
d35634b729
|
@ -63,9 +63,10 @@ class NodeService:
|
|||
|
||||
@staticmethod
|
||||
def get_node_label(node):
|
||||
domain_name = node["domain_name"]
|
||||
if node["domain_name"]:
|
||||
node["domain_name"] = " ("+node["domain_name"]+")"
|
||||
return node["os"]["version"] + " : " + node["ip_addresses"][0] + node["domain_name"]
|
||||
domain_name = " ("+node["domain_name"]+")"
|
||||
return node["os"]["version"] + " : " + node["ip_addresses"][0] + domain_name
|
||||
|
||||
@staticmethod
|
||||
def _cmp_exploits_by_timestamp(exploit_1, exploit_2):
|
||||
|
|
Loading…
Reference in New Issue