From: Michal Fojtik <[email protected]>
---
server/lib/deltacloud/base_driver/base_driver.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/lib/deltacloud/base_driver/base_driver.rb
b/server/lib/deltacloud/base_driver/base_driver.rb
index ebd2078..aba13da 100644
--- a/server/lib/deltacloud/base_driver/base_driver.rb
+++ b/server/lib/deltacloud/base_driver/base_driver.rb
@@ -67,8 +67,8 @@ module Deltacloud
filter_hardware_profiles(results, opts)
end
- def hardware_profile(credentials, name)
- hardware_profiles(credentials, :name => name).first
+ def hardware_profile(credentials, opts={})
+ hardware_profiles(credentials, :name => opts[:id]).first
end
def filter_hardware_profiles(profiles, opts)
--
1.7.3.2