OpenNebula / addon-appmarket

AppMarket builds a centralized catalog of cloud applications
http://opennebula.org/addons:addons
Apache License 2.0
10 stars 13 forks source link

appmarket update: wrong number of arguments #20

Closed hostingnuggets closed 10 years ago

hostingnuggets commented 10 years ago

i am trying to update an appliance's metadata stored in a JSON file but somehow it does not work, see below:

$ appmarket update debian7.json -u username -p password

/usr/lib/one/ruby/oneapps/market/appmarket_client.rb:105:in `update_appliance': wrong number of arguments (1 for 2) (ArgumentError)
    from /usr/bin/appmarket:251:in `block (2 levels) in <main>'
    from /var/lib/gems/1.9.1/gems/opennebula-cli-4.4.0/lib/command_parser.rb:449:in `call'
    from /var/lib/gems/1.9.1/gems/opennebula-cli-4.4.0/lib/command_parser.rb:449:in `run'
    from /var/lib/gems/1.9.1/gems/opennebula-cli-4.4.0/lib/command_parser.rb:76:in `initialize'
    from /usr/bin/appmarket:101:in `new'
    from /usr/bin/appmarket:101:in `<main>'
jmelis commented 10 years ago

Thanks for the feedback! Can you try with this fix?

hostingnuggets commented 10 years ago

thanks, this fix worked! time for a new package release i would suggest :)

jmelis commented 10 years ago

absolutely :+1: