Merge pull request #2016 from huanggze/dev-fix

fix isRangeQuery
This commit is contained in:
KubeSphere CI Bot
2020-04-21 13:37:23 +08:00
committed by GitHub
2 changed files with 31 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ type queryOptions struct {
}
func (q queryOptions) isRangeQuery() bool {
return !q.time.IsZero()
return q.time.IsZero()
}
func (q queryOptions) shouldSort() bool {