Skip to content

Commit 922856c

Browse files
authored
Merge pull request #20 from stat-kwon/master
Remove transaction variable used when initializing in connector
2 parents d664625 + 9945284 commit 922856c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/spaceone/monitoring/libs/connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ class AWSConnector(BaseConnector):
1111
client = None
1212
schema = None
1313

14-
def __init__(self, **kwargs):
14+
def __init__(self, *args, **kwargs):
1515
"""
1616
kwargs
1717
- schema
1818
- options
1919
- secret_data
2020
"""
2121

22-
super().__init__(transaction=None, config=None)
22+
super().__init__(*args, **kwargs)
2323
self.secret_data = kwargs.get('secret_data')
2424
self.schema = kwargs.get('schema', DEFAULT_SCHEMA)
2525

src/spaceone/monitoring/manager/monitoring_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
class MonitoringManager(BaseManager):
13-
def __init__(self, transaction):
14-
super().__init__(transaction)
13+
def __init__(self, *args, **kwargs):
14+
super().__init__(*args, **kwargs)
1515

1616
def list_logs(self, params):
1717
resource_type = params['query'].get('resource_type')

0 commit comments

Comments
 (0)