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._tags = ''
|
||||
self._owner = this.find_owner('io.murano.CloudRegion')
|
||||
self._region_name = None
|
||||
self._region_name = region_name
|
||||
|
||||
@staticmethod
|
||||
def _create_client(session, region_name):
|
||||
|
@ -39,7 +39,7 @@ class MistralError(Exception):
|
||||
|
||||
@dsl.name('io.murano.system.MistralClient')
|
||||
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._region_name = region_name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user