fix rogue else
This commit is contained in:
@@ -68,9 +68,8 @@ if "storage" in data_points:
|
|||||||
name = item["name"]
|
name = item["name"]
|
||||||
path = item["path"]
|
path = item["path"]
|
||||||
exclude = item.get("exclude", None)
|
exclude = item.get("exclude", None)
|
||||||
else:
|
storage_sender = functools.partial(sender, f"{HOSTNAME}.storage.{name}")
|
||||||
storage_sender = functools.partial(sender, f"{HOSTNAME}.storage.{name}")
|
thread(collect_storage, storage_sender, path, exclude = exclude)
|
||||||
thread(collect_storage, storage_sender, path, exclude = exclude)
|
|
||||||
|
|
||||||
# Check heartbeat
|
# Check heartbeat
|
||||||
if "heartbeat" in data_points:
|
if "heartbeat" in data_points:
|
||||||
|
|||||||
Reference in New Issue
Block a user