Project

General

Profile

« Previous | Next » 

Revision 6f7e3d11

Added by Adam Price almost 10 years ago

fixes #7093 - properly remove sync-plan from a product, BZ 1121136

View differences:

lib/hammer_cli_katello/product.rb
build_options :without => [:name, :label, :provider_id, :description,
:gpg_key_id, :sync_plan_id]
option "--sync_plan_id", "SYNC_PLAN_ID", _("plan numeric identifier"),
:attribute_name => :option_sync_plan_id, :required => true
def request_params
super.merge("sync_plan_id" => nil)
end
end
autoload_subcommands

Also available in: Unified diff