Skip to content

Commit

Permalink
Add description to info output and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nadjaheitmann committed Jan 16, 2025
1 parent baad298 commit 3a1a70b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hammer_cli_foreman_resource_quota/resource_quota.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

module HammerCLIForemanResourceQuota

class ShowCommand < HammerCLIForeman::Command
output do
field :id, _('Id')
Expand All @@ -20,6 +19,7 @@ class ListCommand < HammerCLIForeman::ListCommand
field :id, _('Id')
field :name, _('Name')
field :created_at, _('Created at')
field :description, _('Description')
field :cpu_cores, _('CPU cores')
field :memory_mb, _('Memory [MiB]')
field :disk_gb, _('Disk space [GiB]')
Expand Down
4 changes: 2 additions & 2 deletions lib/hammer_cli_foreman_resource_quota/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ class InfoCommand < HammerCLIForeman::InfoCommand
output do
label N_('Resource quota settings') do
field :resource_quota_is_optional, _('Resource quota is optional'), Fields::Boolean
field :resource_quota_ids, N_('Resource quota ids')
field :resource_quota_ids, N_('Resource quota IDs')
end
end
end

class ListCommand < HammerCLIForeman::ListCommand
output do
field :resource_quota_is_optional, _('Resource quota optional'), Fields::Boolean
field :resource_quota_ids, N_('Resource quota ids')
field :resource_quota_ids, N_('Resource quota IDs')
end
end
end
Expand Down

0 comments on commit 3a1a70b

Please sign in to comment.