Skip to content

Commit 9e40ef2

Browse files
author
aviau
committed
Fixed bad 'SHOW RETENTION POLICIES' syntax
1 parent d737c66 commit 9e40ef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
install:
1313
- sudo pip install tox
1414
- sudo pip install coveralls
15-
- wget https://s3.amazonaws.com/influxdb/influxdb_0.9.1_amd64.deb && sudo dpkg -i influxdb_0.9.1_amd64.deb
15+
- wget https://s3.amazonaws.com/influxdb/influxdb_0.9.2_amd64.deb && sudo dpkg -i influxdb_0.9.2_amd64.deb
1616
script:
1717
- travis_wait 30 tox -e $TOX_ENV
1818
after_success:

influxdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def get_list_retention_policies(self, database=None):
540540
u'replicaN': 1}]
541541
"""
542542
rsp = self.query(
543-
"SHOW RETENTION POLICIES %s" % (database or self._database)
543+
"SHOW RETENTION POLICIES ON %s" % (database or self._database)
544544
)
545545
return list(rsp.get_points())
546546

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy