Temporarily put user rename behind a feature flag. Switch queue names back to using the username for namespace while we figure out a real migration strategy.
This commit is contained in:
parent
768a60b414
commit
2b8c246476
9 changed files with 44 additions and 67 deletions
|
@ -144,7 +144,7 @@ class TestRepositoryNotification(RepositoryParamResource):
|
|||
event_info = NotificationEvent.get_event(notification.event.name)
|
||||
sample_data = event_info.get_sample_data(repository=notification.repository)
|
||||
notification_data = build_notification_data(notification, sample_data)
|
||||
notification_queue.put([str(notification.repository.namespace_user.id), repository,
|
||||
notification_queue.put([notification.repository.namespace_user.username, repository,
|
||||
notification.event.name], json.dumps(notification_data))
|
||||
|
||||
return {}
|
||||
|
|
Reference in a new issue