1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Sebastiaan van Stijn 4a52c46e37
registry: trimV1Address(): simplify trimming trailing slash
strings.TrimSuffix() does exactly the same as this code, but is
a bit more readable.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-05 21:12:10 +02:00
..
resumable refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
auth.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
auth_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config.go registry: remove const for 'Docker-Distribution-Api-Version' header 2021-06-24 22:08:28 +02:00
config_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
config_windows.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
endpoint_test.go
endpoint_v1.go registry: trimV1Address(): simplify trimming trailing slash 2021-10-05 21:12:10 +02:00
errors.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
registry.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
registry_mock_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
registry_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
service.go registry: remove unused ToV1Endpoint() 2021-10-05 14:43:58 +02:00
service_v2.go registry: remove tlsConfigForMirror() 2021-10-05 14:37:53 +02:00
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go