summaryrefslogtreecommitdiffstats
path: root/cloudmasterd/lib
diff options
context:
space:
mode:
Diffstat (limited to 'cloudmasterd/lib')
-rw-r--r--cloudmasterd/lib/cloudmasterd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudmasterd/lib/cloudmasterd.rb b/cloudmasterd/lib/cloudmasterd.rb
index 714e497..c87e682 100644
--- a/cloudmasterd/lib/cloudmasterd.rb
+++ b/cloudmasterd/lib/cloudmasterd.rb
@@ -89,7 +89,7 @@ module Cloudmasterd::Controllers
# Find the best host on which to create a VM that requires
# the given "disk_size" and "ram"
def _get_best_host(disk_size, ram)
- return `func-find-resources -m #{ram}`.split(':')[0]
+ return `func-find-resources -m #{ram}`
end
# run the appropriate koan command to create the given "fqdn"