diff --git a/src/sunstone/etc/sunstone-server.conf b/src/sunstone/etc/sunstone-server.conf index 6c512329f7..5a06926b8f 100644 --- a/src/sunstone/etc/sunstone-server.conf +++ b/src/sunstone/etc/sunstone-server.conf @@ -93,4 +93,4 @@ # Marketplace endpoint # -:marketplace_url: http://marketplace.c12g.com/ +:marketplace_url: https://marketplace.c12g.com/appliance diff --git a/src/sunstone/models/SunstoneMarketplace.rb b/src/sunstone/models/SunstoneMarketplace.rb index 6f8745f5fa..c2dcad8217 100644 --- a/src/sunstone/models/SunstoneMarketplace.rb +++ b/src/sunstone/models/SunstoneMarketplace.rb @@ -30,7 +30,7 @@ module SunstoneMarketplace if CloudClient::is_error?(response) error = Error.new(response.to_s) - return [response.code, error.to_json] + return [response.code.to_i, error.to_json] end [200, response.body] @@ -47,9 +47,9 @@ module SunstoneMarketplace if CloudClient::is_error?(response) error = Error.new(response.to_s) - return [response.code, error.to_json] + return [response.code.to_i, error.to_json] end [200, response.body] end -end \ No newline at end of file +end