Log pages domain verification changes to application.log

This commit is contained in:
Nick Thomas 2018-02-19 17:18:41 +00:00
parent ee68bd9771
commit d600a6ef71
No known key found for this signature in database
GPG Key ID: 2A313A47AFADACE9
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ class VerifyPagesDomainService < BaseService
def notify(type)
return unless verification_enabled?
Gitlab::AppLogger.info("Pages domain '#{domain.domain}' changed state to '#{type}'")
notification_service.public_send("pages_domain_#{type}", domain) # rubocop:disable GitlabSecurity/PublicSend
end
end