diff options
author | Ian Taylor <ian@lorf.org> | 2009-02-17 19:22:54 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-02-28 09:35:20 +1100 |
commit | b6f0f9949be9056ea8823b10b86a2b9ea848fad7 (patch) | |
tree | 82d396fdaf87423c06dab8f8f9344ad4a80af881 /lib/facter/uptime.rb | |
parent | 9bc174faffcdb412e07e2dde1686cdec9a4d638c (diff) | |
download | facter-b6f0f9949be9056ea8823b10b86a2b9ea848fad7.tar.gz facter-b6f0f9949be9056ea8823b10b86a2b9ea848fad7.tar.xz facter-b6f0f9949be9056ea8823b10b86a2b9ea848fad7.zip |
more consistent indentation and alignment. also removal of trailing whitespace
Diffstat (limited to 'lib/facter/uptime.rb')
-rw-r--r-- | lib/facter/uptime.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/facter/uptime.rb b/lib/facter/uptime.rb index 808bcec..3a3bc86 100644 --- a/lib/facter/uptime.rb +++ b/lib/facter/uptime.rb @@ -12,9 +12,9 @@ if FileTest.exists?("/proc/uptime") %w{days hours seconds}.each do |label| Facter.add("uptime_" + label) do - setcode do - Facter::Util::Uptime.get_uptime_period(uptime, label) - end + setcode do + Facter::Util::Uptime.get_uptime_period(uptime, label) + end end end end |