From 829654ad75d7329e5d9216899e019417f21d31d1 Mon Sep 17 00:00:00 2001 From: Samer Abdel-Hafez Date: Wed, 11 Jun 2014 13:06:46 +0200 Subject: move :remove_secret to vars --- lib/oxidized/model/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/model.rb') 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 -- cgit v1.2.1