Fix TypeError on configparser

ConfigParser only accept strings, these two opptions were setting to
boolean python value, and failing with TypeEror exception option values
must be strings

Closes-Bug: #1866687
Change-Id: Ia37ad9e14b51132f7ffd234e8010188e086a6ddf
This commit is contained in:
Arx Cruz 2020-03-09 21:12:14 +01:00
parent 0099f408da
commit 2722268479
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class ShareService(VersionedService):
]
conf.set('share', 'backend_names', ','.join(backends))
if len(backends) > 1:
conf.set('share', 'multi_backend', True)
conf.set('share', 'multi_backend', 'True')
def get_unversioned_service_type(self):
return 'share'

View File

@ -58,7 +58,7 @@ class VolumeService(VersionedService):
]
conf.set('volume', 'backend_names', ','.join(backends))
if len(backends) > 1:
conf.set('volume-feature-enabled', 'multi_backend', True)
conf.set('volume-feature-enabled', 'multi_backend', 'True')
def get_service_extension_key(self):
return 'api_extensions'