summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorSamer Abdel-Hafez <sam@arahant.net>2014-06-11 13:06:46 +0200
committerSamer Abdel-Hafez <sam@arahant.net>2014-06-11 13:06:46 +0200
commit829654ad75d7329e5d9216899e019417f21d31d1 (patch)
tree1f5c149d3ff48a0f07f893104cee992a09079a57 /lib/oxidized/model
parentc19cc681e14977bf741359346fe18b8da5c51355 (diff)
move :remove_secret to vars
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/model.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb
index addb981..6f4f54d 100644
--- a/lib/oxidized/model/model.rb
+++ b/lib/oxidized/model/model.rb
@@ -82,7 +82,7 @@ module Oxidized
self.class.cmds[:all].each do |all_block|
out = instance_exec out, string, &all_block
end
- if CFG.remove_secret?
+ if vars :remove_secret
self.class.cmds[:secret].each do |all_block|
out = instance_exec out, string, &all_block
end