summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/source/csv.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/source/csv.rb b/lib/oxidized/source/csv.rb
index 462d759..3b66e65 100644
--- a/lib/oxidized/source/csv.rb
+++ b/lib/oxidized/source/csv.rb
@@ -19,6 +19,7 @@ class CSV < Source
def load
nodes = []
open(@cfg.file).each_line do |line|
+ next if line.match /^\s*#/
data = line.chomp.split @cfg.delimiter
next if data.empty?
# map node parameters