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:
Sam Morrison 2021-03-19 14:45:21 +11:00
parent 1cf4d73dd5
commit c9114b7eb8
1 changed files with 1 additions and 1 deletions

View File

@ -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',