Permalink
Browse files

Appdirect default mappings should be hash and not array

Change-Id: I27d7a0cc4437f43c56630367a94dbb374c7fdbcf
  • Loading branch information...
1 parent 9c33fc5 commit c555b7df724611cb0d34be02ab94657f538e1614 Harshawardhan Gadgil committed Sep 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 marketplace/lib/marketplaces/appdirect/appdirect_marketplace.rb
@@ -22,7 +22,7 @@ def initialize(opts)
@node_timeout = opts[:node_timeout]
@acls = opts[:acls]
@helper = AppdirectHelper.new(opts, @logger)
- @mapping = opts[:offering_mapping] || []
+ @mapping = opts[:offering_mapping] || {}
# Maintain a reverse mapping since we'll be changing the service name for CC advertisement
# A provision request will require the actual service name rather than the one in CCDB

0 comments on commit c555b7d

Please sign in to comment.