1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Iskander (Alex) Sharipov a5c185b994 registry: use len(via)!=0 instead of via!=nil
This avoids the corner case where `via` is not nil, but has a length of 0,
so the updated code does not panic in that situation.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2018-12-11 16:37:16 +03:00
..
resumable Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
auth.go Add canonical import comment 2018-02-05 16:51:57 -05:00
auth_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config.go Migrate DockerTrustSuite to docker/cli e2e tests 2018-03-19 09:26:35 +01:00
config_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go Various code-cleanup 2018-05-23 17:50:54 +02:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
registry.go registry: use len(via)!=0 instead of via!=nil 2018-12-11 16:37:16 +03:00
registry_mock_test.go Various code-cleanup 2018-05-23 17:50:54 +02:00
registry_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
service.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
service_v1.go Add canonical import comment 2018-02-05 16:51:57 -05:00
service_v1_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
service_v2.go Format code with gofmt -s from go-1.11beta1 2018-09-06 15:24:16 -07:00
session.go Various code-cleanup 2018-05-23 17:50:54 +02:00
types.go Add canonical import comment 2018-02-05 16:51:57 -05:00