From e194f04ea9b95adbb590380b95895555e6dc4073 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Mon, 14 Sep 2015 22:26:27 -0700 Subject: [PATCH] Simplify operating system hash for get method --- lib/vmfloaty/pooler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmfloaty/pooler.rb b/lib/vmfloaty/pooler.rb index bdcf37c..2308712 100644 --- a/lib/vmfloaty/pooler.rb +++ b/lib/vmfloaty/pooler.rb @@ -27,7 +27,7 @@ class Pooler unless os_body.has_key?(os_type) os_body[os_type] = 1 else - os_body[os_type] = os_body[os_type] + 1 + os_body[os_type]++ end end