"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "2af565b3bb22cb8ba06acc17a2bbfa8d0ade0145"
Unverified Commit 7ba78e94 authored by Qianli Scott Zhu's avatar Qianli Scott Zhu Committed by GitHub
Browse files

Fix lint error for cloud_lib (#4446)

parent 1e3ca88a
......@@ -23,7 +23,7 @@ GCP_METADATA_HEADER = {"Metadata-Flavor": "Google"}
def on_gcp():
"""Detect whether the current running environment is on GCP"""
"""Detect whether the current running environment is on GCP."""
try:
response = requests.get(GCP_METADATA_URL, headers=GCP_METADATA_HEADER)
return response.status_code == 200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment