From dd7c1dcd6ea0ee6f98d81ef35c35d0ec54e3a3de Mon Sep 17 00:00:00 2001 From: kmetin Date: Mon, 6 Nov 2023 14:32:02 +0300 Subject: [PATCH] fix --- base/commands/migration/migration_stages.go | 3 +++ 1 file changed, 3 insertions(+) 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 {