mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
make modification to netdata charts to accomodate staging certs
This commit is contained in:
parent
e82da094ab
commit
a6e99ea00c
2 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,9 @@ import os
|
|||
import requests
|
||||
|
||||
MONITOR_URL = os.getenv("MONITOR_URL")
|
||||
if MONITOR_URL == "https://haproxy/monitor":
|
||||
STAGING = os.getenv("STAGING")
|
||||
|
||||
if MONITOR_URL == "https://haproxy/monitor" or STAGING:
|
||||
verify = False
|
||||
else:
|
||||
verify = True
|
||||
|
|
|
@ -3,7 +3,9 @@ import os
|
|||
import requests
|
||||
|
||||
MONITOR_URL = os.getenv("MONITOR_URL")
|
||||
if MONITOR_URL == "https://haproxy/monitor":
|
||||
STAGING = os.getenv("STAGING")
|
||||
|
||||
if MONITOR_URL == "https://haproxy/monitor" or STAGING:
|
||||
verify = False
|
||||
else:
|
||||
verify = True
|
||||
|
|
Loading…
Add table
Reference in a new issue