summaryrefslogtreecommitdiff
path: root/graph/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'graph/push.go')
-rw-r--r--graph/push.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/graph/push.go b/graph/push.go
index fcb7e121d9..dba8bb963a 100644
--- a/graph/push.go
+++ b/graph/push.go
@@ -29,13 +29,12 @@ func (s *TagStore) NewPusher(endpoint registry.APIEndpoint, localRepo Repository
switch endpoint.Version {
case registry.APIVersion2:
return &v2Pusher{
- TagStore: s,
- endpoint: endpoint,
- localRepo: localRepo,
- repoInfo: repoInfo,
- config: imagePushConfig,
- sf: sf,
- layersSeen: make(map[string]bool),
+ TagStore: s,
+ endpoint: endpoint,
+ localRepo: localRepo,
+ repoInfo: repoInfo,
+ config: imagePushConfig,
+ sf: sf,
}, nil
case registry.APIVersion1:
return &v1Pusher{