From 2147b151d2b68f986efa9cac72febaaa27e80b7d Mon Sep 17 00:00:00 2001 From: kmetin Date: Fri, 3 Nov 2023 13:51:31 +0300 Subject: [PATCH] fix Serkan's PR comment --- base/commands/migration/migration_stages.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/commands/migration/migration_stages.go b/base/commands/migration/migration_stages.go index 00528c9a..76041163 100644 --- a/base/commands/migration/migration_stages.go +++ b/base/commands/migration/migration_stages.go @@ -284,6 +284,8 @@ func maybePrintWarnings(ctx context.Context, ec plug.ExecContext, ci *hazelcast. } if len(warnings) <= 5 { ec.PrintlnUnnecessary("* " + strings.Join(warnings, "\n* ")) + } else { + ec.PrintlnUnnecessary(fmt.Sprintf("You have %d warnings that you can find in your migration report.", len(warnings))) } }