mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
pass govet
This commit is contained in:
parent
2f9ace7eeb
commit
d7f78502d7
@ -168,12 +168,11 @@ func (ra *RepositoryAPI) Delete() {
|
||||
log.Infof("delete tag: %s %s", repoName, t)
|
||||
go TriggerReplicationByRepository(repoName, []string{t}, models.RepOpDelete)
|
||||
|
||||
go func() {
|
||||
|
||||
if err := dao.AccessLog(user, project, repoName, t, "delete"); err != nil {
|
||||
go func(tag string) {
|
||||
if err := dao.AccessLog(user, project, repoName, tag, "delete"); err != nil {
|
||||
log.Errorf("failed to add access log: %v", err)
|
||||
}
|
||||
}()
|
||||
}(t)
|
||||
}
|
||||
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user