fix tests after rebase, use _get_namespace_name_from

This commit is contained in:
Evan Cordell 2017-07-18 11:07:55 -04:00
parent 57517adef3
commit 94c28b624e
2 changed files with 5 additions and 4 deletions

View file

@ -133,8 +133,8 @@ class QuayNotificationMethod(NotificationMethod):
return
# Lookup the target user or team to which we'll send the notification.
config_data = json.loads(notification_obj.config_json)
status, err_message, target_users = self.find_targets(repository.namespace_user.username, repository.name, config_data)
config_data = notification_obj.method_config_dict
status, err_message, target_users = self.find_targets(_get_namespace_name_from(repository), repository.name, config_data)
if not status:
raise NotificationMethodPerformException(err_message)