This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 3b0fdc9 Use relative require
3b0fdc9 is described below
commit 3b0fdc9b804c032cd494ad26b2352c282162ef0d
Author: Sebb <[email protected]>
AuthorDate: Wed Sep 23 17:20:31 2020 +0100
Use relative require
---
www/status/monitors/system.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/status/monitors/system.rb b/www/status/monitors/system.rb
index 60f203e..9699ccd 100644
--- a/www/status/monitors/system.rb
+++ b/www/status/monitors/system.rb
@@ -42,7 +42,7 @@ def Monitor.system(previous_status)
# Are we the active node?
begin
- require 'whimsy/asf/status'
+ require_relative '../../../lib/whimsy/asf/status'
active = Status.active?
rescue LoadError, StandardError => e
active = e.inspect