diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-04-12 12:12:03 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-04-16 09:41:55 +0200 |
commit | 3cdf801f4f269a50fb1f55cfbf99bbd6810334db (patch) | |
tree | b2a82d7a25ef6d0ad293a336f9e7eeb0981e5cba /src/python/openlmi | |
parent | d84aedd0b4fa768b36a17fe39ef3d1c64a41eb45 (diff) | |
download | openlmi-providers-3cdf801f4f269a50fb1f55cfbf99bbd6810334db.tar.gz openlmi-providers-3cdf801f4f269a50fb1f55cfbf99bbd6810334db.tar.xz openlmi-providers-3cdf801f4f269a50fb1f55cfbf99bbd6810334db.zip |
Fixed subscription check, the new IndicationManager has additional parameter.
Diffstat (limited to 'src/python/openlmi')
-rw-r--r-- | src/python/openlmi/common/JobManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/openlmi/common/JobManager.py b/src/python/openlmi/common/JobManager.py index b4b7bb1..71c2df9 100644 --- a/src/python/openlmi/common/JobManager.py +++ b/src/python/openlmi/common/JobManager.py @@ -774,7 +774,8 @@ class JobManager(object): self.jobs[job.the_id] = job self.queue.put(job) # send indication - if self.indication_manager.is_subscribed(self.IND_JOB_CREATED): + if self.indication_manager.is_subscribed( + self.job_classname, self.IND_JOB_CREATED): job_instance = self.get_job_instance(job) self.indication_manager.send_instcreation( job_instance, self.IND_JOB_CREATED) |