kubernetes / git-sync

A sidecar app which clones a git repo and keeps it in sync with the upstream.
Apache License 2.0
2.22k stars 411 forks source link

redactURL() fails for git URLs #826

Closed thockin closed 11 months ago

thockin commented 11 months ago

Resulting in logs like:

{"logger":"","ts":"2023-10-11 08:53:05.981499","caller":{"file":"main.go","line":722},"level":0,"msg":"starting up","flags":["--repo=parse \"git@github.com:kubernetes/git-sync\": first path segment in URL cannot contain colon"