Merge pull request #21613 from wzyboy/support-unixgram-syslog-address
Support unixgram syslog address
This commit is contained in:
commit
d4db263aa4
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ var (
|
|||
validPrefixes = map[string][]string{
|
||||
"url": {"http://", "https://"},
|
||||
"git": {"git://", "github.com/", "git@"},
|
||||
"transport": {"tcp://", "tcp+tls://", "udp://", "unix://"},
|
||||
"transport": {"tcp://", "tcp+tls://", "udp://", "unix://", "unixgram://"},
|
||||
}
|
||||
urlPathWithFragmentSuffix = regexp.MustCompile(".git(?:#.+)?$")
|
||||
)
|
||||
|
|
|
@ -23,6 +23,7 @@ var (
|
|||
"tcp+tls://example.com",
|
||||
"udp://example.com",
|
||||
"unix:///example",
|
||||
"unixgram:///example",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue