summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-05-17 18:15:57 -0700
committerelijah <elijah@riseup.net>2014-05-17 18:15:57 -0700
commitc0e52b84f79fc0ec636daf91e1fc6b61cc49fb2d (patch)
tree53ea47d0e81cf2b9b392edbebe241c8ec9fb9008
parent6e6b140941eb1c38f3541afbbe18d56a65baacab (diff)
fix bug with empty tor families
-rw-r--r--provider_base/services/tor.json2
1 files changed, 1 insertions, 1 deletions
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(',')"
}
}