From 183c5a2bad9f7090bbc7129e62ca733fae66159b Mon Sep 17 00:00:00 2001 From: DingZQ Date: Wed, 23 Apr 2025 21:58:41 +0800 Subject: [PATCH] Refine --- influxdb_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb_api.py b/influxdb_api.py index c436bf9..4166e4e 100644 --- a/influxdb_api.py +++ b/influxdb_api.py @@ -3362,7 +3362,7 @@ if __name__ == "__main__": client = InfluxDBClient(url=url, token=token) # step1: 检查连接状态,初始化influxdb的buckets try: - # delete_buckets(org_name) + delete_buckets(org_name) create_and_initialize_buckets(org_name) except Exception as e: print(f"连接失败: {e}")