From c0e52b84f79fc0ec636daf91e1fc6b61cc49fb2d Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 17 May 2014 18:15:57 -0700 Subject: fix bug with empty tor families --- provider_base/services/tor.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider_base/services/tor.json b/provider_base/services/tor.json index 7d9c6d34..fc365a19 100644 --- a/provider_base/services/tor.json +++ b/provider_base/services/tor.json @@ -3,6 +3,6 @@ "bandwidth_rate": 6550, "contacts": "= [provider.contacts['tor'] || provider.contacts.default].flatten", "nickname": "= (self.name + secret(:tor_family)).sub('_','')[0..18]", - "family": "= nodes[:service => 'tor'].field('tor.nickname').join(',')" + "family": "= nodes[:services => 'tor'][:environment => '!local'].field('tor.nickname').join(',')" } } -- cgit v1.2.3