mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 13:41:46 +02:00
Update k8s-operator/api-proxy/proxy.go
Co-authored-by: David Bond <davidsbond@users.noreply.github.com> Signed-off-by: Tom Meadows <tom@tmlabs.co.uk>
This commit is contained in:
parent
59b929ab02
commit
444300aef8
@ -204,8 +204,7 @@ func (ap *APIServerProxy) serveDefault(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
err = ap.recordRequestAsEvent(r, who)
|
||||
if err != nil {
|
||||
if err = ap.recordRequestAsEvent(r, who); err != nil {
|
||||
ap.log.Errorf("error recording Kubernetes API request: %v", err)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user