18183: Merge branch 'main' into 18183-revoke-tokens-when-user-is-disabled
[arvados.git] / services / api / lib / log_reuse_info.rb
index 01cf6dd78584386813631e219ad0566ac6282a53..5c7efd7ded2e0e28ae0167aa357b0e37df810d5a 100644 (file)
@@ -9,7 +9,7 @@ module LogReuseInfo
   # doing expensive things like database queries, and we want to skip
   # those when logging is disabled.
   def log_reuse_info(candidates=nil)
-    if Rails.configuration.Containers["LogReuseDecisions"]
+    if Rails.configuration.Containers.LogReuseDecisions
       msg = yield
       if !candidates.nil?
         msg = "have #{candidates.count} candidates " + msg