summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/outputs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/outputs.rb')
-rw-r--r--lib/oxidized/model/outputs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/outputs.rb b/lib/oxidized/model/outputs.rb
index 406f886..10015f8 100644
--- a/lib/oxidized/model/outputs.rb
+++ b/lib/oxidized/model/outputs.rb
@@ -3,7 +3,7 @@ module Oxidized
class Outputs
def to_cfg
- type_to_str('cfg')
+ type_to_str(nil)
end
def type_to_str want_type
@@ -23,7 +23,7 @@ module Oxidized
end
def types
- @outputs.map { |out| out.type }.uniq - ['cfg']
+ @outputs.map { |out| out.type }.uniq.compact
end
private