summaryrefslogtreecommitdiff
path: root/lib/gitlab/downtime_check/message.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/downtime_check/message.rb')
-rw-r--r--lib/gitlab/downtime_check/message.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/downtime_check/message.rb b/lib/gitlab/downtime_check/message.rb
index 40a4815a9a0..543e62794c5 100644
--- a/lib/gitlab/downtime_check/message.rb
+++ b/lib/gitlab/downtime_check/message.rb
@@ -3,8 +3,8 @@ module Gitlab
class Message
attr_reader :path, :offline
- OFFLINE = "\e[31moffline\e[0m"
- ONLINE = "\e[32monline\e[0m"
+ OFFLINE = "\e[31moffline\e[0m".freeze
+ ONLINE = "\e[32monline\e[0m".freeze
# path - The file path of the migration.
# offline - When set to `true` the migration will require downtime.