diff options
author | Alex Legler <a3li@gentoo.org> | 2012-02-28 13:21:36 +0100 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2012-02-28 13:21:36 +0100 |
commit | 7010636695694f7d12a7673b06dfad81f1cb47ed (patch) | |
tree | d759e632be162774426c5672e5eca47861f0f8e6 | |
parent | .gitignore status.json and config.yaml (diff) | |
download | infra-status-7010636695694f7d12a7673b06dfad81f1cb47ed.tar.gz infra-status-7010636695694f7d12a7673b06dfad81f1cb47ed.tar.bz2 infra-status-7010636695694f7d12a7673b06dfad81f1cb47ed.zip |
Replace hardcoded status.json location with app root
-rw-r--r-- | lib/service-dsl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service-dsl.rb b/lib/service-dsl.rb index 42f94d4..ec80f24 100644 --- a/lib/service-dsl.rb +++ b/lib/service-dsl.rb @@ -50,7 +50,7 @@ module HelperMethods end class ServiceRegistry - StatusSource = "/tmp/status.json" + StatusSource = File.join(File.dirname(__FILE__), "..", "status.json") include Singleton include HelperMethods |