Module: HammerCLIKatello::HostCollection::LimitFieldDataExtension

Included in:
InfoCommand, ListCommand
Defined in:
lib/hammer_cli_katello/host_collection.rb

Instance Method Summary collapse

Instance Method Details

#extend_data(data) ⇒ Object



6
7
8
9
# File 'lib/hammer_cli_katello/host_collection.rb', line 6

def extend_data(data)
  data['_limit'] = data['unlimited_hosts'] ? 'None' : data['max_hosts']
  data
end