Fixing status check for RSI status page
This commit is contained in:
parent
d7ad9840c8
commit
7f80f503b2
@ -229,7 +229,7 @@ class StarCitizen(commands.Cog):
|
|||||||
rsi_incident_file = "/tmp/rsi_incident"
|
rsi_incident_file = "/tmp/rsi_incident"
|
||||||
status_json = requests.get(status_url + "/index.json").json()
|
status_json = requests.get(status_url + "/index.json").json()
|
||||||
|
|
||||||
if status_json["summaryStatus"] != "ok":
|
if status_json["summaryStatus"] != "operational":
|
||||||
# Extract systems with unresolved issues
|
# Extract systems with unresolved issues
|
||||||
systems_with_issues = [
|
systems_with_issues = [
|
||||||
system
|
system
|
||||||
|
@ -17,6 +17,7 @@ async def get_msreg(track):
|
|||||||
"lightspeed": "BC6417B8-0ED9-DD48-28BA1463C2C14322",
|
"lightspeed": "BC6417B8-0ED9-DD48-28BA1463C2C14322",
|
||||||
"fast_toys": "F2829F4E-91A1-30B9-919956FB1BE3CFB4",
|
"fast_toys": "F2829F4E-91A1-30B9-919956FB1BE3CFB4",
|
||||||
"drive_tracktime": "F8940175-D299-85F5-4BFFE1243A2D0B88",
|
"drive_tracktime": "F8940175-D299-85F5-4BFFE1243A2D0B88",
|
||||||
|
"trackedllc": "22332933-D95D-7DD2-A81CE491A98854D5",
|
||||||
}
|
}
|
||||||
events = {}
|
events = {}
|
||||||
client = httpx.AsyncClient()
|
client = httpx.AsyncClient()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user