1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger/splunk
Sebastiaan van Stijn 87206a10b9
daemon/logger/splunk: remove uses of pkg/urlutil.IsURL()
pkg/urlutil (despite its poorly chosen name) is not really intended as a generic
utility to handle URLs, and should only be used by the builder to handle (remote)
build contexts.

This patch removes the use of urlutil.IsURL(), in favor of just checking if the
provided scheme (protocol) is supported.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-11 17:42:50 +02:00
..
splunk.go daemon/logger/splunk: remove uses of pkg/urlutil.IsURL() 2022-04-11 17:42:50 +02:00
splunk_test.go Fix more goimports 2020-02-11 18:56:25 +01:00
splunkhecmock_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00