Skip to content

Commit

Permalink
Fixes #36964 - SCA deprecation message - next release (#918)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3b5cce2)
  • Loading branch information
ianballou committed Dec 11, 2023
1 parent af40b68 commit ffa40ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/hammer_cli_katello/organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def request_params
params["organization"] = params.fetch('organization', {}).merge(
"_simple_content_access" => params['simple_content_access'])
unless params['simple_content_access']
warn "Simple Content Access will be required for all organizations in Katello 4.12."
warn(
_("Simple Content Access will be required for all organizations in the next release.")
)
end
end
params
Expand Down
4 changes: 3 additions & 1 deletion lib/hammer_cli_katello/simple_content_access.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module HammerCLIKatello
class SimpleContentAccess < HammerCLIKatello::Command
resource :simple_content_access

desc "Toggle simple content access mode across organization"

module EligibleCheck
Expand Down Expand Up @@ -47,7 +49,7 @@ class DisableCommand < HammerCLIKatello::SingleResourceCommand
build_options

def execute
warn "Simple Content Access will be required for all organizations in Katello 4.12."
warn _("Simple Content Access will be required for all organizations in the next release.")
super
end
end
Expand Down

0 comments on commit ffa40ae

Please sign in to comment.