Changing condition release from rocky to queens for mysql uri

As Queens also has PyMySQL 0.8.0 dependency so it has the same issue[1][2][3][4],
changing condition release from rocky to queens to fix warning flood.

[1] bf7ac78d07
[2] https://github.com/openstack/requirements/blob/stable/rocky/upper-constraints.txt#L377
[3] https://github.com/openstack/requirements/blob/stable/queens/upper-constraints.txt#L374
[4] gnocchixyz/gnocchi#847

Change-Id: Ic57530ad7f19d1499e47286e29faa13f3ba1c47e
This commit is contained in:
Seyeong Kim 2019-12-06 16:23:48 +09:00
parent 529441eec9
commit 408bf97a36
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class GnocchiCharmDatabaseRelationAdapter(adapters.DatabaseRelationAdapter):
release = ch_utils.get_os_codename_install_source(
self.config['openstack-origin'])
if (ch_utils.OPENSTACK_RELEASES.index(release) >=
ch_utils.OPENSTACK_RELEASES.index('rocky')):
ch_utils.OPENSTACK_RELEASES.index('queens')):
if '?' in uri:
uri += '&binary_prefix=true'
else: