Class: HammerCLIKatello::HostCollection::CreateCommand

Inherits:
CreateCommand
  • Object
show all
Defined in:
lib/hammer_cli_katello/host_collection.rb

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#request_paramsObject



42
43
44
45
46
47
48
# File 'lib/hammer_cli_katello/host_collection.rb', line 42

def request_params
  super.tap do |params|
    if params['max_hosts'] && params['unlimited_hosts'].nil?
      params['unlimited_hosts'] = false
    end
  end
end