mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
With debug logging turned on, we currently log the base64-encoded secret payload. Change the middleware code to redact this. Since the field is called "Data", it requires some context-sensitivity. The URI path is examined to see which route is being invoked. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 3fbc352cbbce06cd3001d6b14b2b1ebcb4d42cd5 Component: engine