java-topology/defects/rclone-0005/patch/shade_token_log.patch

13 lines
533 B
Diff

# UNDF: UNDF-2026-000001027
--- a/backend/shade/shade.go
+++ b/backend/shade/shade.go
@@ -337,7 +337,7 @@ func (f *Fs) Move(ctx context.Context, src fs.Object, remote string) (fs.Object,
err = o.fs.pacer.Call(func() (bool, error) {
resp, err := f.srv.Call(ctx, &opts)
if err != nil && resp.StatusCode == http.StatusBadRequest {
- fs.Debugf(f, "Bad token from server: %v", token)
+ fs.Debugf(f, "Bad token from server (token suppressed)")
}
return resp != nil && resp.StatusCode == http.StatusTooManyRequests, err