Merge "Use default region_name parameter in clients"
This commit is contained in:
commit
cdc636740e
@ -52,7 +52,7 @@ class HeatStack(object):
|
|||||||
self._last_stack_timestamps = (None, None)
|
self._last_stack_timestamps = (None, None)
|
||||||
self._tags = ''
|
self._tags = ''
|
||||||
self._owner = this.find_owner('io.murano.CloudRegion')
|
self._owner = this.find_owner('io.murano.CloudRegion')
|
||||||
self._region_name = None
|
self._region_name = region_name
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _create_client(session, region_name):
|
def _create_client(session, region_name):
|
||||||
|
@ -39,7 +39,7 @@ class MistralError(Exception):
|
|||||||
|
|
||||||
@dsl.name('io.murano.system.MistralClient')
|
@dsl.name('io.murano.system.MistralClient')
|
||||||
class MistralClient(object):
|
class MistralClient(object):
|
||||||
def __init__(self, this, region_name):
|
def __init__(self, this, region_name=None):
|
||||||
self._owner = this.find_owner('io.murano.Environment')
|
self._owner = this.find_owner('io.murano.Environment')
|
||||||
self._region_name = region_name
|
self._region_name = region_name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user