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 49f9905 commit 3cb980a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/commands/migration/migration_stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ func querySingleRow(ctx context.Context, ci *hazelcast.ClientInternal, query str
if err != nil {
return "", err
}
if r == nil {
return nil, errors.New("no rows found")
}
return r, nil
}
return nil, errors.New("no rows found")
Expand Down

0 comments on commit 3cb980a

Please sign in to comment.