Merge "Fixed akamai default wsdl path"

This commit is contained in:
Zuul 2019-07-04 15:53:21 +00:00 committed by Gerrit Code Review
commit 762daa5507
1 changed files with 6 additions and 6 deletions

View File

@ -17,11 +17,11 @@ import os
from oslo_config import cfg
WSDL = os.path.join(os.path.dirname(__file__),
'..',
'resources',
'wsdl',
'EnhancedDNS.xml')
WSDL_PATH = os.path.abspath(
os.path.join(
os.path.dirname(__file__), '..', 'resources', 'wsdl', 'EnhancedDNS.xml'
)
)
AKAMAI_GROUP = cfg.OptGroup(
name='backend:akamai',
@ -30,7 +30,7 @@ AKAMAI_GROUP = cfg.OptGroup(
AKAMAI_OPTS = [
cfg.StrOpt('enhanceddns_wsdl',
default='file://%s' % WSDL,
default='file://%s' % WSDL_PATH,
help='Akamai EnhancedDNS WSDL URL'),
]