mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Fix a log message
This commit is contained in:
@@ -69,9 +69,9 @@ def decision_update(config, session, msg):
|
||||
return
|
||||
|
||||
if msg.decision_context != config.greenwave_decision_context:
|
||||
log.debug('Skip Greenwave message %s as MBS only handles message in '
|
||||
'decision context %s',
|
||||
msg.msg_id, msg.decision_context)
|
||||
log.debug('Skip Greenwave message %s as MBS only handles messages with the '
|
||||
'decision context "%s"',
|
||||
msg.msg_id, config.greenwave_decision_context)
|
||||
return
|
||||
|
||||
module_build_nvr = msg.subject_identifier
|
||||
|
||||
@@ -103,9 +103,8 @@ class TestDecisionUpdateHandler:
|
||||
decision_context='bodhi_update_push_testing')
|
||||
decision_update(conf, db.session, msg)
|
||||
log.debug.assert_called_once_with(
|
||||
'Skip Greenwave message %s as MBS only handles message in decision'
|
||||
' context %s',
|
||||
'msg-id-1', 'bodhi_update_push_testing'
|
||||
'Skip Greenwave message %s as MBS only handles messages with the decision context "%s"',
|
||||
'msg-id-1', 'osci_compose_gate_modules'
|
||||
)
|
||||
|
||||
@patch('module_build_service.scheduler.handlers.greenwave.log')
|
||||
|
||||
Reference in New Issue
Block a user