Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-08-17 12:49:13 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2016-08-17 12:50:30 +0300
commit88a0c984fc0bdbe0951b02c4e1d4b749dce88a24 (patch)
tree4c9f05e50ac1a7ff9e4cc76622078c2e75dea2ca /lib/gitlab/downtime_check
parentd1da2e8180d92e5f4a8b5ebb36b0f4e4d0618bf8 (diff)
Fixed downtime check label colouring
The colours were incorrect: offline was green and online was red, instead of the opposite.
Diffstat (limited to 'lib/gitlab/downtime_check')
-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 4446e921e0d..fd85f087c03 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, :reason
- OFFLINE = "\e[32moffline\e[0m"
- ONLINE = "\e[31monline\e[0m"
+ OFFLINE = "\e[31moffline\e[0m"
+ ONLINE = "\e[32monline\e[0m"
# path - The file path of the migration.
# offline - When set to `true` the migration will require downtime.