Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezborder committed Nov 12, 2024
1 parent a50d54f commit f422f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/libraries/harddisk_services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ module RbManager
module Helpers
def harddisk_services
hd_services = {}
root_dev_kb = node['filesystem']['by_mountpoint']['/']['kb_size']
root_dev_kb = node['filesystem']['by_mountpoint']['/']['kb_size']
size_bytes = root_dev_kb.to_i * 1024
size_bytes -= 7 * 1024 * 1024 * 1024
maxsize = size_bytes

hd_services_dev = node['redborder']['manager']['hd_services'].map do |service|
{
name: service[:name],
count: node['redborder']['services'][service[:name]] ? service[:count] + 1 : service[:count]
count: node['redborder']['services'][service[:name]] ? service[:count] + 1 : service[:count],
}
end

Expand Down

0 comments on commit f422f31

Please sign in to comment.