moby--moby/registry
Sebastiaan van Stijn 50361d91a6
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>
(cherry picked from commit 4a52c46e37)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-17 19:02:54 +02:00
..
resumable bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
auth.go registry.loginV2(): minor cleanup 2020-10-29 22:26:57 +01:00
auth_test.go registry: remove TestSameAuthDataPostSave 2020-10-28 14:06:40 +01:00
config.go registry: use consts for default registry 2020-10-28 14:06:28 +01:00
config_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
config_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
config_windows.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go registry: trimV1Address(): simplify trimming trailing slash 2022-08-17 19:02:54 +02:00
errors.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
registry.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
registry_mock_test.go registry: normalize comment formatting 2019-11-27 15:45:23 +01:00
registry_test.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
service.go registry: minor cleanup in search code 2020-10-28 15:24:50 +01:00
service_v2.go registry: remove v1 authentication 2020-10-28 14:06:36 +01:00
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go Add canonical import comment 2018-02-05 16:51:57 -05:00