shin- 11 年之前
父节点
当前提交
a02bc8a5db
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      registry/registry.go

+ 3 - 4
registry/registry.go

@@ -665,9 +665,9 @@ type ImgData struct {
 }
 
 type Registry struct {
-	client		  *http.Client
-	authConfig	  *auth.AuthConfig
-	reqFactory	  *utils.HTTPRequestFactory
+	client        *http.Client
+	authConfig    *auth.AuthConfig
+	reqFactory    *utils.HTTPRequestFactory
 	indexEndpoint string
 }
 
@@ -700,4 +700,3 @@ func NewRegistry(authConfig *auth.AuthConfig, factory *utils.HTTPRequestFactory,
 	r.reqFactory = factory
 	return r, nil
 }
-