From 6b98c68d124c2a1163f283274335a700025c7ab9 Mon Sep 17 00:00:00 2001 From: James Findley Date: Tue, 19 Jul 2016 15:37:10 +0100 Subject: [PATCH] Load the middleware/redirect driver Signed-off-by: James Findley --- cmd/registry/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/registry/main.go b/cmd/registry/main.go index 686af12b..c077a0c1 100644 --- a/cmd/registry/main.go +++ b/cmd/registry/main.go @@ -13,6 +13,7 @@ import ( _ "github.com/docker/distribution/registry/storage/driver/gcs" _ "github.com/docker/distribution/registry/storage/driver/inmemory" _ "github.com/docker/distribution/registry/storage/driver/middleware/cloudfront" + _ "github.com/docker/distribution/registry/storage/driver/middleware/redirect" _ "github.com/docker/distribution/registry/storage/driver/oss" _ "github.com/docker/distribution/registry/storage/driver/s3-aws" _ "github.com/docker/distribution/registry/storage/driver/s3-goamz"