discover_entry_points runs only if entrypoints is empty. When driver
is switched entrypoints was not resetting because it would have been
prepopulated with values for the previous driver.
---
client/lib/deltacloud.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/lib/deltacloud.rb b/client/lib/deltacloud.rb
index 581417b..91e4f5f 100644
--- a/client/lib/deltacloud.rb
+++ b/client/lib/deltacloud.rb
@@ -319,6 +319,7 @@ module DeltaCloud
if driver
@api_driver = driver
@driver_name = driver
+ @features, @entry_points = {}, {}
discover_entry_points
end
@username = opts[:username] if opts[:username]
--
1.7.6.2