Permalink
Browse files

Removed unused requires

  • Loading branch information...
1 parent ac118c8 commit 3b6239267e667c31fade7e62f7084c50bbe9a139 @coredump committed Feb 6, 2012
Showing with 3 additions and 6 deletions.
  1. +1 −2 scripts/df.coffee
  2. +1 −2 scripts/interfaces.coffee
  3. +1 −2 src/sender.coffee
View
@@ -1,5 +1,4 @@
Exec = require('child_process').exec
-util = require 'util'
module.exports = (server) ->
run = () ->
@@ -21,4 +20,4 @@ module.exports = (server) ->
statObj[key] = statArray[i] for key, i in nameArray
server.push_metric("#{metricPrefix}.#{statObj.mount_point}.#{key}",
- value) for key, value of statObj when key isnt 'mount_point'
+ value) for key, value of statObj when key isnt 'mount_point'
@@ -1,5 +1,4 @@
Fs = require 'fs'
-util = require 'util'
module.exports = (server) ->
run = () ->
@@ -21,4 +20,4 @@ module.exports = (server) ->
interface = values[0].replace /:$/, ''
statObj = {}
statObj[key] = values[i + 1] for key, i in nameArray
- server.push_metric "#{metricPrefix}.#{interface}.#{key}", value for key, value of statObj
+ server.push_metric "#{metricPrefix}.#{interface}.#{key}", value for key, value of statObj
View
@@ -1,5 +1,4 @@
Net = require 'net'
-Util = require 'util'
class Sender
@@ -25,4 +24,4 @@ class Sender
@cli.debug "Disconnected"
conn.end()
-module.exports = Sender
+module.exports = Sender

0 comments on commit 3b62392

Please sign in to comment.