Skip to content

Commit

Permalink
Handle 0 sizes
Browse files Browse the repository at this point in the history
Co-Authored-By: Zacqary Adam Xeper <[email protected]>
  • Loading branch information
2 people authored and Alejandro Fernández Gómez committed Dec 31, 2019
1 parent 6e17c53 commit d04f15e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class InfraKibanaLogEntriesAdapter implements LogEntriesAdapter {
index: sourceConfiguration.logAlias,
ignoreUnavailable: true,
body: {
size: size ? size : LOG_ENTRIES_PAGE_SIZE,
size: typeof size !== 'undefined' ? size : LOG_ENTRIES_PAGE_SIZE,
track_total_hits: false,
query: {
bool: {
Expand Down

0 comments on commit d04f15e

Please sign in to comment.