Skip to content

Commit da4f7f3

Browse files
author
seolmin
committed
fix: remove transaction variable used when initializing in connector and manager
1 parent c4148af commit da4f7f3

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/spaceone/monitoring/libs/connector.py

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

1111

1212
class AzureConnector(BaseConnector):
13-
def __init__(self, **kwargs):
13+
def __init__(self, *args, **kwargs):
1414
"""
1515
kwargs
1616
- schema
1717
- options
1818
- secret_data
1919
"""
2020

21-
super().__init__(transaction=None, config=None)
21+
super().__init__(*args, **kwargs)
2222
self.client = None
2323

2424
def set_connect(self, schema, options: dict, secret_data: dict):
@@ -44,4 +44,3 @@ def set_connect(self, schema, options: dict, secret_data: dict):
4444
except Exception as e:
4545
print(e)
4646
raise ERROR_INVALID_CREDENTIALS()
47-

src/spaceone/monitoring/manager/monitoring_manager.py

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

1010

1111
class MonitoringManager(BaseManager):
12-
def __init__(self, transaction):
13-
super().__init__(transaction)
12+
def __init__(self, *args, **kwargs):
13+
super().__init__(*args, **kwargs)
1414

1515
def list_logs(self, params):
1616
results = []

0 commit comments

Comments
 (0)