update kapacitor transform
Uniform 'get_vitarge_type' type, remove method type warning Change-Id: I3e406806421d7452afe8a378ec752b6678c4e222
This commit is contained in:
parent
d47e8400ce
commit
fa1d0fbbbe
@ -55,8 +55,7 @@ class KapacitorTransformer(AlarmTransformerBase):
|
||||
resource_name,
|
||||
alarm_id))
|
||||
|
||||
@staticmethod
|
||||
def get_vitrage_type():
|
||||
def get_vitrage_type(self):
|
||||
return KAPACITOR_DATASOURCE
|
||||
|
||||
def _create_vertex(self, entity_event):
|
||||
|
Loading…
Reference in New Issue
Block a user