diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-02 12:10:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-02 12:10:09 +0300 |
commit | 1930898566965dbc1bd779089ec9e58e17674268 (patch) | |
tree | a1e4384e4e8927431b637daa885dc8793cbb0035 /app/services/keys | |
parent | 2691cff8296517651e4bcd8adac09640f8cc28f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/keys')
-rw-r--r-- | app/services/keys/last_used_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/keys/last_used_service.rb b/app/services/keys/last_used_service.rb index e9139346df4..daef544bac0 100644 --- a/app/services/keys/last_used_service.rb +++ b/app/services/keys/last_used_service.rb @@ -18,7 +18,7 @@ module Keys end def update? - return false if ::Gitlab::Database.main.read_only? + return false if ::Gitlab::Database.read_only? last_used = key.last_used_at |