Skip to content

Commit

Permalink
Add clarifying comment in bootloader (#7350)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroslopez committed Jun 19, 2023
1 parent 6f54951 commit b5c148f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
@Slf4j
public class Bootloader {

// Ordered list of version upgrades that must be completed before upgrading to latest.
private static final List<AirbyteVersion> REQUIRED_VERSION_UPGRADES = List.of(
new AirbyteVersion("0.32.0-alpha"),
new AirbyteVersion("0.37.0-alpha"));
Expand Down Expand Up @@ -141,7 +142,7 @@ private void assertNonBreakingMigration(final JobPersistence jobPersistence, fin
log.error(attentionBanner);
final String message = String.format(
"Cannot upgrade from version %s to version %s directly. First you must upgrade to version %s. "
+ "After that upgrade is complete, you may upgrade to version %s",
+ "After that upgrade is complete, you may upgrade to version %s.",
initialAirbyteDatabaseVersion.get().serialize(),
airbyteVersion.serialize(),
requiredVersionUpgrade.get().serialize(),
Expand Down

0 comments on commit b5c148f

Please sign in to comment.