Projet

Général

Profil

Révision b0b39b01

IDb0b39b018e200cd0b771675fd0a6489f6ee9f045
Parent 26c29daa
Enfant 809639ab

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

Ruby plugins: apply style changes as suggested by "rubocop --fix-layout"

Voir les différences:

plugins/snmp/snmp_room_alert_
89 89
        if not is_vb_valid(vb, subchannel)
90 90
          next
91 91
        end
92

  
92 93
        puts "#{field_name(unit, vb, letter)}.label #{label(unit, vb)}"
93 94
      end
94 95
    end
......
96 97
  exit 0
97 98
end
98 99

  
99

  
100 100
units.each do |unit|
101 101
  SNMP::Manager.open(:Host => unit,
102 102
                     :Community => community,
......
105 105
      if not is_vb_valid(vb, subchannel)
106 106
        next
107 107
      end
108

  
108 109
      puts "#{field_name(unit, vb, letter)}.value #{vb.value.to_f / 100}"
109 110
    end
110 111
  end

Formats disponibles : Unified diff