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,
|
resource_name,
|
||||||
alarm_id))
|
alarm_id))
|
||||||
|
|
||||||
@staticmethod
|
def get_vitrage_type(self):
|
||||||
def get_vitrage_type():
|
|
||||||
return KAPACITOR_DATASOURCE
|
return KAPACITOR_DATASOURCE
|
||||||
|
|
||||||
def _create_vertex(self, entity_event):
|
def _create_vertex(self, entity_event):
|
||||||
|
Loading…
Reference in New Issue
Block a user