Skip to content

Commit

Permalink
Merge pull request #2 from smartrecruiters/fix-es-dashboards
Browse files Browse the repository at this point in the history
fix : ES -> TermsGroupBy -> size
  • Loading branch information
mmiedviediev authored Oct 31, 2023
2 parents a84d526 + 1d1266b commit c35d611
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========


0.7.0.post2 (2023-10-31)
==================

* Fix TermsGroupBy for ElastickSearch source (size should be str instead int)

0.7.0.post1 (2023-06-26)
==================

Expand Down
2 changes: 1 addition & 1 deletion grafanalib/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def to_json_data(self):
'min_doc_count': self.minDocCount,
'order': self.order,
'orderBy': self.orderBy,
'size': self.size,
'size': str(self.size),
},
}

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def local_file(name):
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/guides/single-sourcing-package-version/
version='0.7.0.post1',
version='0.7.0.post2',
description='Library for building Grafana dashboards',
long_description=open(README).read(),
url='https://github.com/weaveworks/grafanalib',
Expand Down

0 comments on commit c35d611

Please sign in to comment.