mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-20 21:21:23 +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
444300aef8
commit
4b751921de
@ -251,8 +251,7 @@ func (ap *APIServerProxy) sessionForProto(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