Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kutluhanmetin committed Oct 31, 2023
1 parent e75eccb commit 49f9905
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/commands/migration/migration_stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,13 @@ func maybePrintWarnings(ctx context.Context, ec plug.ExecContext, ci *hazelcast.
row, err := querySingleRow(ctx, ci, q)
if err != nil {
ec.Logger().Error(err)
return
}
var warnings []string
err = json.Unmarshal(row.(serialization.JSON), &warnings)
if err != nil {
ec.Logger().Error(err)
return
}
ec.PrintlnUnnecessary("* " + strings.Join(warnings, "\n* "))
}
Expand Down

0 comments on commit 49f9905

Please sign in to comment.