diff options
author | Samer Abdel-Hafez <sam@arahant.net> | 2014-06-11 13:06:46 +0200 |
---|---|---|
committer | Samer Abdel-Hafez <sam@arahant.net> | 2014-06-11 13:06:46 +0200 |
commit | 829654ad75d7329e5d9216899e019417f21d31d1 (patch) | |
tree | 1f5c149d3ff48a0f07f893104cee992a09079a57 /lib | |
parent | c19cc681e14977bf741359346fe18b8da5c51355 (diff) |
move :remove_secret to vars
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/model.rb | 2 |
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 |