mirror of
https://github.com/distribution/distribution.git
synced 2025-10-21 19:02:21 +00:00
Changes behavior so ping doesn't happen if /v2/ is anywhere in a request path, but instead only at the beginning. This fixes attempts to ping on redirected URLs. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)