mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Simplify operating system hash for get method
This commit is contained in:
parent
8616397c8e
commit
e194f04ea9
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Pooler
|
||||||
unless os_body.has_key?(os_type)
|
unless os_body.has_key?(os_type)
|
||||||
os_body[os_type] = 1
|
os_body[os_type] = 1
|
||||||
else
|
else
|
||||||
os_body[os_type] = os_body[os_type] + 1
|
os_body[os_type]++
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue