From 3ed06f96706887e491f8acdb72c5704022504fa9 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Thu, 15 Dec 2016 22:57:23 +0800 Subject: [PATCH] Remove unuse slice in registry Signed-off-by: yuexiao-wang --- registry/types.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/registry/types.go b/registry/types.go index 49c123a3e2..8dbcb961f1 100644 --- a/registry/types.go +++ b/registry/types.go @@ -5,15 +5,12 @@ import ( "github.com/docker/docker/reference" ) -// RepositoryData tracks the image list, list of endpoints, and list of tokens -// for a repository +// RepositoryData tracks the image list, list of endpoints for a repository type RepositoryData struct { // ImgList is a list of images in the repository ImgList map[string]*ImgData // Endpoints is a list of endpoints returned in X-Docker-Endpoints Endpoints []string - // Tokens is currently unused (remove it?) - Tokens []string } // ImgData is used to transfer image checksums to and from the registry