diff options
Diffstat (limited to 'lib/feature/gitaly.rb')
-rw-r--r-- | lib/feature/gitaly.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feature/gitaly.rb b/lib/feature/gitaly.rb index e603a1dc8d2..a061a83e79c 100644 --- a/lib/feature/gitaly.rb +++ b/lib/feature/gitaly.rb @@ -15,7 +15,7 @@ class Feature def server_feature_flags(project = nil) # We need to check that both the DB connection and table exists - return {} unless ::Gitlab::Database.cached_table_exists?(FlipperFeature.table_name) + return {} unless ::Gitlab::Database.main.cached_table_exists?(FlipperFeature.table_name) Feature.persisted_names .select { |f| f.start_with?(PREFIX) } |