]> git.openstreetmap.org Git - rails.git/commitdiff
Fix new rubocop warnings
authorTom Hughes <tom@compton.nu>
Tue, 2 Feb 2021 18:49:18 +0000 (18:49 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 2 Feb 2021 18:56:29 +0000 (18:56 +0000)
config/initializers/config.rb

index b74ba57e635340cb82c9335abbe0de89f5f6df41..d0f8c26fc31b7f5aef6877959006d3ea9b3c9125 100644 (file)
@@ -16,7 +16,7 @@ end
 # rubocop:enable Rails/Output, Rails/Exit
 
 # Allowed status values
-ALLOWED_STATUS ||= [
+ALLOWED_STATUS = [
   "online",            # online and operating normally
   "api_readonly",      # site online but API in read-only mode
   "api_offline",       # site online but API offline