Skip to content

Commit

Permalink
MID-8842 ninja - disabled interactive "upgrade" commands (not finishe…
Browse files Browse the repository at this point in the history
…d yet). Added info to upgrade installation step regarding next step (initial objects)

(cherry picked from commit c1a1829)
  • Loading branch information
1azyman committed Sep 8, 2023
1 parent 1acd520 commit ff609d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public Void execute() throws Exception {

log.info(ConsoleFormat.formatSuccessMessage("Installation upgraded successfully"));

log.info("");
log.info("Next step should be to update initial objects. You can use 'ninja initial-objects --dry-run' to review changes.");
log.info("Please see documentation and initial-objects command options for more information.");

return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ public enum Command {

PRE_UPGRADE_CHECK("pre-upgrade-check", PreUpgradeCheckOptions.class, PreUpgradeCheckAction.class),

HELP("help", HelpOptions.class, HelpAction.class),
HELP("help", HelpOptions.class, HelpAction.class);

UPGRADE("upgrade", UpgradeOptions.class, UpgradeAction.class);
// todo disabled, because it's not finished yet
// UPGRADE("upgrade", UpgradeOptions.class, UpgradeAction.class),

private final String commandName;

Expand Down

0 comments on commit ff609d0

Please sign in to comment.