mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-06 22:46:24 +00:00
refactor(upgrade): Trim upgrade name before executing (#7343)
This commit is contained in:
parent
372f673aef
commit
32b55e7caa
@ -77,7 +77,7 @@ public class UpgradeCli implements CommandLineRunner {
|
||||
|
||||
final Args args = new Args();
|
||||
new CommandLine(args).setCaseInsensitiveEnumValuesAllowed(true).parseArgs(cmdLineArgs);
|
||||
UpgradeResult result = _upgradeManager.execute(args.upgradeId, args.args);
|
||||
UpgradeResult result = _upgradeManager.execute(args.upgradeId.trim(), args.args);
|
||||
|
||||
if (UpgradeResult.Result.FAILED.equals(result.result())) {
|
||||
System.exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user