mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
set the region is_master field
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
1c6b1ba1f6
commit
99d3b4928d
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,11 @@ class TargetConfig:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
'host not specified for section {s}'.format(s=section)
|
'host not specified for section {s}'.format(s=section)
|
||||||
)
|
)
|
||||||
|
try:
|
||||||
|
self.is_master=cfg.getboolean(section, 'is_master')
|
||||||
|
except ConfigParser.NoOptionError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.is_secure=cfg.getboolean(section, 'is_secure')
|
self.is_secure=cfg.getboolean(section, 'is_secure')
|
||||||
except ConfigParser.NoOptionError:
|
except ConfigParser.NoOptionError:
|
||||||
|
|
Loading…
Reference in a new issue