Skip to content

Commit

Permalink
[fedmsg] Add repo_id field
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdebsk committed Apr 5, 2017
1 parent f43aeea commit 410b22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions koschei/plugins/fedmsg_plugin/backend/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def emit_collection_state_update(session, collection, prev_state, new_state):
koji_instance=get_config('fedmsg.instance'),
collection=collection.name,
collection_name=collection.display_name,
repo_id=collection.latest_repo_id,
),
)
publish_fedmsg(session, message)
1 change: 1 addition & 0 deletions test/fedmsg_publisher_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_event(self):
'new': 'ok',
'collection': 'f25',
'collection_name': 'Fedora Rawhide',
'repo_id': 123,
'koji_instance': 'primary'})


Expand Down

0 comments on commit 410b22b

Please sign in to comment.