Remove API readiness check from admission hook
We don't need API access anymore in the admission webhook.
This commit is contained in:
parent
a490fc5662
commit
e5c73cd534
1 changed files with 0 additions and 4 deletions
|
@ -71,10 +71,6 @@ def handle_notify() -> None:
|
|||
and "update_opening" to let it process who has changed and in which direction. After
|
||||
altering our stream list appropriately it checks if a notification webhook needs to fire.
|
||||
"""
|
||||
# If we don't have API creds we can't do this, abort
|
||||
if not (config.API_USER and config.API_PASS):
|
||||
return
|
||||
|
||||
# If we didn't fill out a state change, we don't need to do anything
|
||||
if not hasattr(cherrypy.request, "update_opening") or not hasattr(cherrypy.request, "update_stream"):
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue