Default client version to 1_0
Change-Id: I2b7c2e421c21cab7fc640c192963160309ee3d37
This commit is contained in:
parent
407a792072
commit
e922716e28
@ -16,7 +16,7 @@
|
||||
from surveilclient.common import utils
|
||||
|
||||
|
||||
def Client(version, *args, **kwargs):
|
||||
def Client(version='1_0', *args, **kwargs):
|
||||
module = utils.import_versioned_module(version, 'client')
|
||||
client_class = getattr(module, 'Client')
|
||||
return client_class(*args, **kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user