8000 fix(worker): remove logs aboyt skipped artifacts (#4791) · ovh/cds@1c9be7f · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 1c9be7f

Browse files
fsaminyesnault
authored andcommitted
fix(worker): remove logs aboyt skipped artifacts (#4791)
1 parent 4c9641c commit 1c9be7f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

engine/worker/builtin_artifact_download.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,11 @@ func runArtifactDownload(w *currentWorker) BuiltInAction {
7575
a := &artifacts[i]
7676

7777
if pattern != "" && !regexp.MatchString(a.Name) {
78-
sendLog(fmt.Sprintf("%s does not match pattern %s - skipped", a.Name, pattern))
7978
wg.Done()
8079
continue
8180
}
8281

8382
if tag != "" && a.Tag != tag {
84-
sendLog(fmt.Sprintf("%s does not match tag %s - skipped", a.Name, tag))
8583
wg.Done()
8684
continue
8785
}

engine/worker/cmd_download.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,11 @@ func (wk *currentWorker) downloadHandler(w http.ResponseWriter, r *http.Request)
205205
a := &artifacts[i]
206206

207207
if reqArgs.Pattern != "" && !regexp.MatchString(a.Name) {
208-
sendLog(fmt.Sprintf("%s does not match pattern %s - skipped", a.Name, reqArgs.Pattern))
209208
wg.Done()
210209
continue
211210
}
212211

213212
if reqArgs.Tag != "" && a.Tag != reqArgs.Tag {
214-
sendLog(fmt.Sprintf("%s does not match tag %s - skipped", a.Name, reqArgs.Tag))
215213
wg.Done()
216214
continue
217215
}

0 commit comments

Comments
 (0)
0