mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-16 23:35:20 +01:00
Add pull time for proxy cache artifact in first pull
Fixes #13152 Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
parent
6cdae44dc2
commit
9264105934
@ -142,7 +142,8 @@ func (c *controller) ProxyManifest(ctx context.Context, p *models.Project, art l
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("failed to get manifest, error %v", err)
|
log.Errorf("failed to get manifest, error %v", err)
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
if a != nil {
|
||||||
SendPullEvent(a, art.Tag, operator)
|
SendPullEvent(a, art.Tag, operator)
|
||||||
}
|
}
|
||||||
}(operator.FromContext(ctx))
|
}(operator.FromContext(ctx))
|
||||||
|
Loading…
Reference in New Issue
Block a user