Skip to content

Commit

Permalink
use correct phase to check if an upgrade scenario is available
Browse files Browse the repository at this point in the history
Fixes: c5890ab
  • Loading branch information
evgeni committed Aug 21, 2024
1 parent 8625f1b commit 3b957ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_maintain/upgrade_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def initialize(reporter, options = {})
end

def available?
condition = { :tags => [:upgrade_scenario, :pre_upgrade_check] }
condition = { :tags => [:upgrade_scenario, :pre_upgrade_checks] }
matching_scenarios = find_scenarios(condition)
!matching_scenarios.empty?
end
Expand Down

0 comments on commit 3b957ae

Please sign in to comment.