fix bug: data lake paging api without page number returned wrong pae
@@ -225,7 +225,7 @@ public class DataLakeManagementV3 {
}
public PageResult getEvents(String index, int itemsPerPage) throws IOException {
- int page = getMaxPage(index, itemsPerPage);
+ int page = getMaxPage(index, itemsPerPage) - 1;
return getEvents(index, itemsPerPage, page);
}
