Project

General

Profile

« Previous | Next » 

Revision 77e624b7

Added by Martin Bacovsky about 6 years ago

Fixes #22456 - Backup command

View differences:

lib/foreman_maintain/upgrade_runner.rb
private
# rubocop:disable Metrics/AbcSize
def rollback_pre_migrations
raise "Unexpected phase #{phase}, expecting pre_migrations" unless phase == :pre_migrations
rollback_needed = scenario(:pre_migrations).steps.any? { |s| s.executed? && s.success? }
......
The upgrade failed and system was restored to pre-upgrade state.
MESSAGE
end
# rubocop:enable Metrics/AbcSize
def with_non_empty_scenario(phase)
next_scenario = scenario(phase)

Also available in: Unified diff