diff --git a/base/commands/migration/migration_stages.go b/base/commands/migration/migration_stages.go index 208480e1..aa7300c1 100644 --- a/base/commands/migration/migration_stages.go +++ b/base/commands/migration/migration_stages.go @@ -367,6 +367,9 @@ func maybePrintWarnings(ctx context.Context, ec plug.ExecContext, ci *hazelcast. ec.Logger().Error(err) return } + if rr == nil { + return + } var warnings []string err = json.Unmarshal(rr.(serialization.JSON), &warnings) if err != nil {