summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-06-27 23:30:58 -0700
committerelijah <elijah@riseup.net>2014-06-27 23:30:58 -0700
commit15ec7cbcb2b9a4c230c4b8a7f7b720c7dc047c61 (patch)
treef92a319b64090beb7ee9bcea231a1a4c816ab7dd /provider_base/services
parent787eb366d80cee7c89348e11c1befa86255bbe85 (diff)
added error() macro.
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/couchdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/couchdb.rb b/provider_base/services/couchdb.rb
index c63e3a00..81f366e1 100644
--- a/provider_base/services/couchdb.rb
+++ b/provider_base/services/couchdb.rb
@@ -3,7 +3,7 @@
#
unless nodes_like_me['services' => 'couchdb']['couch.master' => true].any?
- #raise 'node `%s`, environment `%s`: there must be at least one node with couch.master set to `true` for this environment.' % [@node.name, @node.environment]
+ error('there must be at least one node with couch.master set to `true` for environment `%s`.' % @node.environment)
end
if couch.master