Skip to content

Commit

Permalink
Merge pull request #539 from Fryguy/better_help_message
Browse files Browse the repository at this point in the history
Remove newlines from help message
  • Loading branch information
agrare committed Sep 30, 2024
2 parents c73a5bc + c64d354 commit 182421a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,7 @@ def self.params_for_create
:id => 'options.image_inspector_options.cve_url',
:name => 'options.image_inspector_options.cve_url',
:label => _('CVE Location'),
:helperText => _('Enables defining a URL path prefix for XCCDF file instead of accessing the default location.
example: http://my_file_server.org:3333/xccdf_files/
Expecting to find com.redhat.rhsa-RHEL7.ds.xml.bz2 file there.'),
:helperText => _('Alternative URL path for the XCCDF file, where a com.redhat.rhsa-RHEL7.ds.xml.bz2 file is expected. example: http://my_file_server.example.org:3333/xccdf_files/'),
:placeholder => ::Settings.ems.ems_kubernetes.image_inspector_cve_url
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ def advanced_settings
},
:cve_url => {
:label => N_('CVE Location'),
:help_text => N_('Enables defining a URL path prefix for XCCDF file instead of accessing the default location.
example: http://my_file_server.org:3333/xccdf_files/
Expecting to find com.redhat.rhsa-RHEL7.ds.xml.bz2 file there.'),
:help_text => N_('Alternative URL path for the XCCDF file, where a com.redhat.rhsa-RHEL7.ds.xml.bz2 file is expected. example: http://my_file_server.example.org:3333/xccdf_files/'),

# Future versions of image inspector will extend this.
:global_default => ::Settings.ems.ems_kubernetes.image_inspector_cve_url,
},
Expand Down

0 comments on commit 182421a

Please sign in to comment.