Merge pull request #13254 from stonezdj/201013_add_pulltime

Add pull time for proxy cache artifact in first pull
This commit is contained in:
Wenkai Yin(尹文开) 2020-10-14 18:48:07 +08:00 committed by GitHub
commit 3f7fdbac62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

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))