Make gpu map script return the normalized node names already.

This commit is contained in:
Joachim Meyer
2023-06-29 10:01:19 +02:00
parent 7a0c41e378
commit e70d377047
2 changed files with 6 additions and 3 deletions

View File

@@ -43,5 +43,5 @@ if __name__ == "__main__":
machines = fetch_condor_machines()
mappings = {}
for machine in machines:
mappings[machine] = mapping_for_machine(machine)
mappings[machine.split(".")[0]] = mapping_for_machine(machine)
print(json.dumps(mappings))