Specify Surveil version when using surveilclient
Change-Id: Icabbca21a9c80e32043811759bfa4d00c2f2851d
This commit is contained in:
parent
5f6fc0177c
commit
51376bc922
@ -89,5 +89,5 @@ def main():
|
||||
)
|
||||
|
||||
# Reload the surveil config
|
||||
cli_surveil = sc.Client('http://localhost:8080/v1')
|
||||
cli_surveil = sc.Client('http://localhost:8080/v1', version='1_0')
|
||||
cli_surveil.reload_config()
|
||||
|
@ -91,7 +91,7 @@ def main(args=None):
|
||||
|
||||
endpoints = keystone.service_catalog.get_endpoints()
|
||||
|
||||
cli_surveil = sc.Client(cfg.api_url)
|
||||
cli_surveil = sc.Client(cfg.api_url, version='1_0')
|
||||
|
||||
for ep in endpoints.get('identity', []):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user