docker/docker — pull request #8387 by vbatts (2014-10-03 19:49:27+00:00)
Title: registry/endpoint: make it testable

@crosbymichael and @dmcgowan I know it's too late for 1.3, but this adds back the tests we started, and make the initializer more testable.

Signed-off-by: Vincent Batts