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
auth.go registry.loginV2(): minor cleanup 2020-10-29 22:26:57 +01:00
auth_test.go
config.go
config_test.go
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
endpoint_test.go
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_mock_test.go
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
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go