Browse code

Remove unuse slice in registry

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/12/15 23:57:23
Showing 1 changed files
... ...
@@ -5,15 +5,12 @@ import (
5 5
 	"github.com/docker/docker/reference"
6 6
 )
7 7
 
8
-// RepositoryData tracks the image list, list of endpoints, and list of tokens
9
-// for a repository
8
+// RepositoryData tracks the image list, list of endpoints for a repository
10 9
 type RepositoryData struct {
11 10
 	// ImgList is a list of images in the repository
12 11
 	ImgList map[string]*ImgData
13 12
 	// Endpoints is a list of endpoints returned in X-Docker-Endpoints
14 13
 	Endpoints []string
15
-	// Tokens is currently unused (remove it?)
16
-	Tokens []string
17 14
 }
18 15
 
19 16
 // ImgData is used to transfer image checksums to and from the registry