Default client service type to reservation
Provide a default service type to avoid having to specify one, this brings it inline with other openstack clients. Change-Id: Idf423a87402894c131e6a57a86edc78ddcfd3ff6
This commit is contained in:
parent
1cf4d73dd5
commit
c9114b7eb8
@ -19,7 +19,7 @@ from blazarclient import exception
|
||||
from blazarclient.i18n import _
|
||||
|
||||
|
||||
def Client(version=1, *args, **kwargs):
|
||||
def Client(version=1, service_type='reservation', *args, **kwargs):
|
||||
version_map = {
|
||||
'1': 'blazarclient.v1.client.Client',
|
||||
'1a0': 'blazarclient.v1.client.Client',
|
||||
|
Loading…
Reference in New Issue
Block a user