mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 03:47:22 +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(
|
||||
'host not specified for section {s}'.format(s=section)
|
||||
)
|
||||
try:
|
||||
self.is_master=cfg.getboolean(section, 'is_master')
|
||||
except ConfigParser.NoOptionError:
|
||||
pass
|
||||
|
||||
try:
|
||||
self.is_secure=cfg.getboolean(section, 'is_secure')
|
||||
except ConfigParser.NoOptionError:
|
||||
|
|
Loading…
Reference in a new issue