summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 23:41:42 +0200
committerElvin Efendi <elvin.efendiyev@gmail.com>2016-06-02 23:41:42 +0200
commit369bf7c96cfcf342c55f7a57170bd00c352154e3 (patch)
tree5755db4b505f1070771adf7316a3d96f1296b3af /lib
parent7000d42b8634396b518568939bb1f6ac9e49e4d3 (diff)
cleaner spec
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/input/.telnet.rb.swpbin0 -> 16384 bytes
-rw-r--r--lib/oxidized/worker.rb2
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/.telnet.rb.swp b/lib/oxidized/input/.telnet.rb.swp
new file mode 100644
index 0000000..dc6503d
--- /dev/null
+++ b/lib/oxidized/input/.telnet.rb.swp
Binary files differ
diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb
index 7aec42a..1952d01 100644
--- a/lib/oxidized/worker.rb
+++ b/lib/oxidized/worker.rb
@@ -28,7 +28,7 @@ module Oxidized
@jobs.push Job.new node
Oxidized.logger.debug "lib/oxidized/worker.rb: Added #{node.name} to the job queue"
end
- Oxidized.logger.debug "lib/oxidized/worker.rb: #{@jobs.size} jobs running in parallel"
+ Oxidized.logger.debug("lib/oxidized/worker.rb: #{@jobs.size} jobs running in parallel") unless @jobs.empty?
end
def process job