Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-02 00:12:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-02 00:12:08 +0300
commitd170c7eeef81debb74afa518c256358ccb7e231c (patch)
treedc4adba24cead9505703600189bbba712f442661 /lib/gitlab/doctor
parent3bfb19d99e3508b2a42c49d09e5a3236d2ce3a29 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/doctor')
-rw-r--r--lib/gitlab/doctor/secrets.rb4
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