Add pull time for proxy cache artifact in first pull

Fixes #13152

Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
stonezdj 2020-10-14 13:33:54 +08:00
parent 6cdae44dc2
commit 9264105934
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))