summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_distribution.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/server/register_distribution.go')
-rw-r--r--pkg/api/server/register_distribution.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_distribution.go b/pkg/api/server/register_distribution.go
index 23820b4a7..b0ac61fb8 100644
--- a/pkg/api/server/register_distribution.go
+++ b/pkg/api/server/register_distribution.go
@@ -6,6 +6,6 @@ import (
)
func (s *APIServer) RegisterDistributionHandlers(r *mux.Router) error {
- r.HandleFunc(VersionedPath("/distribution/{name:..*}/json"), handlers.UnsupportedHandler)
+ r.HandleFunc(VersionedPath("/distribution/{name}/json"), handlers.UnsupportedHandler)
return nil
}