mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-12 10:57:58 +08:00
Modify message functions to accept conf instead of backend
This commit is contained in:
committed by
Nils Philippsen
parent
a3ecd4180d
commit
d37659afd8
@@ -149,7 +149,7 @@ class ModuleBuild(RidaBase):
|
||||
modname='rida',
|
||||
topic='module.state.change',
|
||||
msg=module.json(), # Note the state is "init" here...
|
||||
backend=conf.messaging,
|
||||
conf=conf,
|
||||
)
|
||||
return module
|
||||
|
||||
@@ -168,7 +168,7 @@ class ModuleBuild(RidaBase):
|
||||
modname='rida',
|
||||
topic='module.state.change',
|
||||
msg=self.json(), # Note the state is "init" here...
|
||||
backend=conf.messaging,
|
||||
conf=conf,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user