Merge pull request #13300 from stonezdj/2.1_add_pulltime

(cherry-pick) Add pull time for proxy cache artifact in first pull
This commit is contained in:
stonezdj(Daojun Zhang) 2020-10-19 10:51:47 +08:00 committed by GitHub
commit 6c53f68596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,8 @@ func (c *controller) ProxyManifest(ctx context.Context, p *models.Project, art l
if err != nil {
log.Errorf("failed to get manifest, error %v", err)
}
} else {
}
if a != nil {
SendPullEvent(a, art.Tag, operator)
}
}(operator.FromContext(ctx))