diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-02 00:12:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-02 00:12:08 +0300 |
commit | d170c7eeef81debb74afa518c256358ccb7e231c (patch) | |
tree | dc4adba24cead9505703600189bbba712f442661 /lib/gitlab/doctor | |
parent | 3bfb19d99e3508b2a42c49d09e5a3236d2ce3a29 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/doctor')
-rw-r--r-- | lib/gitlab/doctor/secrets.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/doctor/secrets.rb b/lib/gitlab/doctor/secrets.rb index cd075569d10..03d3f062372 100644 --- a/lib/gitlab/doctor/secrets.rb +++ b/lib/gitlab/doctor/secrets.rb @@ -16,7 +16,7 @@ module Gitlab models_with_attributes = Hash.new { |h, k| h[k] = [] } models_with_encrypted_attributes.each do |model| - models_with_attributes[model] += model.encrypted_attributes.keys + models_with_attributes[model] += model.attr_encrypted_attributes.keys end models_with_encrypted_tokens.each do |model| @@ -79,7 +79,7 @@ module Gitlab end def models_with_encrypted_attributes - all_models.select { |d| d.encrypted_attributes.present? } + all_models.select { |d| d.attr_encrypted_attributes.present? } end def models_with_encrypted_tokens |