Explorar o código

feat:修改卡片消息等级

zhaohaipeng hai 3 meses
pai
achega
dd52dd2a61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/feature_spark_monitor.py

+ 1 - 1
script/feature_spark_monitor.py

@@ -105,7 +105,7 @@ def handle_table(table_name: str, spark_task_list: List[Dict]) -> (bool, str, st
     if finished_hour != current_hour:
         return True, f"当前小时的任务未完成", "warn"
 
-    return False, ""
+    return False, "", ""
 
 
 def invoke_feishu_card_mgs(webhook: str, content: str, alarm_level="error"):