mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 05:31:36 +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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
err = ap.recordRequestAsEvent(r, who)
|
if err = ap.recordRequestAsEvent(r, who); err != nil {
|
||||||
if err != nil {
|
|
||||||
ap.log.Errorf("error recording Kubernetes API request: %v", err)
|
ap.log.Errorf("error recording Kubernetes API request: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user