From 1d235dc6532ff28ab4df1656360d1996598fc06a Mon Sep 17 00:00:00 2001 From: Zhanghao Wu Date: Sun, 22 Dec 2024 00:33:32 +0000 Subject: [PATCH] format --- sky/usage/usage_lib.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sky/usage/usage_lib.py b/sky/usage/usage_lib.py index f71bf296c99..d7df13c947d 100644 --- a/sky/usage/usage_lib.py +++ b/sky/usage/usage_lib.py @@ -337,9 +337,8 @@ def _send_to_loki(message_type: MessageType): 'schema_version': message.schema_version, } if message_type == MessageType.USAGE: - prom_labels['new_cluster'] = (message.original_cluster_status != - 'UP' and message.final_cluster_status == - 'UP') + prom_labels['new_cluster'] = (message.original_cluster_status != 'UP' + and message.final_cluster_status == 'UP') headers = {'Content-type': 'application/json'} payload = {