From a8086312264ad48ba3e6c1a4b3caff6994fad810 Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Mon, 14 Oct 2024 10:15:58 -0400 Subject: [PATCH] Remove references to --phase --- README.md | 1 - lib/foreman_maintain/upgrade_runner.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index f7a3f2674..1540098dd 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ Subcommands: check --target-version TARGET_VERSION Run pre-upgrade checks for upgrading to specified version --disable-self-upgrade Disable automatic self upgrade (default: false) run --target-version TARGET_VERSION Run the full upgrade - [--phase=phase TARGET_VERSION] Run just a specific phase of the upgrade --disable-self-upgrade Disable automatic self upgrade (default: false) advanced Advanced tools for server maintenance diff --git a/lib/foreman_maintain/upgrade_runner.rb b/lib/foreman_maintain/upgrade_runner.rb index 66536fe91..91f4f4038 100644 --- a/lib/foreman_maintain/upgrade_runner.rb +++ b/lib/foreman_maintain/upgrade_runner.rb @@ -137,7 +137,6 @@ def skip_phase(skipped_phase) @reporter.before_scenario_starts(scenario) @reporter.puts <<~MESSAGE Skipping #{skipped_phase} phase as it was already run before. - To enforce to run the phase, use `upgrade run --phase #{skipped_phase}` MESSAGE @reporter.after_scenario_finishes(scenario) end