Changing greater than symbol to greater than or equals logic in cosmos statestore
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
This commit is contained in:
parent
93708273d4
commit
02645149b5
|
@ -174,12 +174,12 @@ func (q *Query) execute(client *azcosmos.ContainerClient) ([]state.QueryItem, st
|
|||
if err != nil {
|
||||
return nil, "", err
|
||||
}
|
||||
if (len(items) + 1) > resultLimit {
|
||||
if len(items) >= resultLimit {
|
||||
break
|
||||
}
|
||||
items = append(items, tempItem)
|
||||
}
|
||||
if (len(items) + 1) > resultLimit {
|
||||
if len(items) >= resultLimit {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue