summaryrefslogtreecommitdiffhomepage
path: root/ssh/tailssh
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2024-11-26 17:24:24 -0500
committerAndrew Dunham <andrew@du.nham.ca>2024-11-26 18:05:27 -0500
commit63b6a19ffa54941d0be274d15c7b6def80dfc36c (patch)
tree978da024344b3d62b27d70fcd534800cc31085ae /ssh/tailssh
parente87b71ec3c7bded3fadf44cb9374df5de5e213d6 (diff)
downloadtailscale-andrew/context-dedup-errors.tar.xz
tailscale-andrew/context-dedup-errors.zip
control/controlhttp, util/multierr: deduplicate context errorsandrew/context-dedup-errors
Add a new function to the util/multierr package that allows deduplicating the `context.Canceled` and `context.DeadlineExceeded` errors from a slice, and then use that to reduce log spam in controlhttp. Updates #14233 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I5a121124fe27c4449705ba35de6faf83665db5fe
Diffstat (limited to 'ssh/tailssh')
0 files changed, 0 insertions, 0 deletions