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/gelf
Sebastiaan van Stijn 2e831c76c2
daemon/logger/gelf: remove uses of pkg/urlutil.IsTransportURL()
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 a redundant use of urlutil.IsTransportURL(); code further below already
  checked if the given scheme (protocol) was supported.
- renames some variables that collided with imported packages.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-11 17:42:41 +02:00
..
gelf.go daemon/logger/gelf: remove uses of pkg/urlutil.IsTransportURL() 2022-04-11 17:42:41 +02:00
gelf_test.go daemon/logger/gelf: remove uses of pkg/urlutil.IsTransportURL() 2022-04-11 17:42:41 +02:00