Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iotfunctions/bif.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ def execute(self, df, start_ts=None, end_ts=None, entities=None):
cache_df = self._initialize_cache(kpi_function_id)

# Initialize alert column in dataframe
if not df.empty and self.alert_name not in df.columns:
if self.alert_name not in df.columns:
df[self.alert_name] = None

# Get device metrics to monitor
Expand Down
Loading