Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/other/port_
55 55
    :type   => :GAUGE, :min => 0
56 56

  
57 57
  def retrieve_values
58
   
58

  
59 59
    @_netstat   = %x[netstat -n -P tcp | egrep "\.#{PORT} "].split( "\n" )
60 60

  
61 61

  
......
73 73
    @_result = 0
74 74

  
75 75
    source.each { |obj| @_result += 1 if obj.match( regex ) }
76
    
76

  
77 77
    return @_result
78 78
  end
79 79
end

Formats disponibles : Unified diff