Merge "Use default region_name parameter in clients"

This commit is contained in:
Jenkins 2016-09-06 21:05:20 +00:00 committed by Gerrit Code Review
commit cdc636740e
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

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