Commit 8dccd970 authored by MOMMESSIN Clement's avatar MOMMESSIN Clement

[code] Fix dynamic registration of profiles

parent 41c8e0b4
......@@ -209,6 +209,9 @@ class Batsim(object):
if not workload_name in self.profiles:
self.profiles[workload_name] = {}
self.logger.debug("A new dynamic workload of name {} has been received".format(workload_name))
self.logger.debug("Registering profile: {}".format(msg["data"]))
self.profiles[workload_name][profile_name] = profile
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment