summaryrefslogtreecommitdiffstats
path: root/cloudmasterd
diff options
context:
space:
mode:
authorroot <root@hackathon1-repo.usersys.redhat.com>2008-06-20 14:36:50 -0400
committerroot <root@hackathon1-repo.usersys.redhat.com>2008-06-20 14:36:50 -0400
commitf6e6188f4bc76352539c5e3475f0338d1bddcb44 (patch)
treeedabf86105c3e30eadc7082fbe057ba50249ce46 /cloudmasterd
parent7e9416156eda5e532c8d6c4ccf8463405374b2ba (diff)
downloadtools-f6e6188f4bc76352539c5e3475f0338d1bddcb44.tar.gz
tools-f6e6188f4bc76352539c5e3475f0338d1bddcb44.tar.xz
tools-f6e6188f4bc76352539c5e3475f0338d1bddcb44.zip
removed disk-space paramter in call to func-find-resources
Diffstat (limited to 'cloudmasterd')
-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"