@@ -177,7 +177,7 @@ func (woc *wfOperationCtx) processArtifactGCStrategy(ctx context.Context, strate
177
177
node , err := woc .wf .Status .Nodes .Get (artifactSearchResult .NodeID )
178
178
if err != nil {
179
179
woc .log .Errorf ("Was unable to obtain node for %s" , artifactSearchResult .NodeID )
180
- return fmt .Errorf ("can't process Artifact GC Strategy %s: node ID %q not found in Status?? " , strategy , artifactSearchResult .NodeID )
180
+ return fmt .Errorf ("can't process Artifact GC Strategy %s: node ID %q not found in Status" , strategy , artifactSearchResult .NodeID )
181
181
}
182
182
templateName := util .GetTemplateFromNode (* node )
183
183
if templateName == "" {
@@ -187,7 +187,7 @@ func (woc *wfOperationCtx) processArtifactGCStrategy(ctx context.Context, strate
187
187
if ! found {
188
188
template = woc .wf .GetTemplateByName (templateName )
189
189
if template == nil {
190
- return fmt .Errorf ("can't process Artifact GC Strategy %s: template name %q belonging to node %+v not found?? " , strategy , templateName , node )
190
+ return fmt .Errorf ("can't process Artifact GC Strategy %s: template name %q belonging to node %+v not found" , strategy , templateName , node )
191
191
}
192
192
templatesByName [templateName ] = template
193
193
}
@@ -219,7 +219,7 @@ func (woc *wfOperationCtx) processArtifactGCStrategy(ctx context.Context, strate
219
219
// create the pod
220
220
podAccessInfo , found := podNames [podName ]
221
221
if ! found {
222
- return fmt .Errorf ("can't find podInfo for podName %q?? " , podName )
222
+ return fmt .Errorf ("can't find podInfo for podName %q" , podName )
223
223
}
224
224
225
225
_ , err := woc .createArtifactGCPod (ctx , strategy , tasks , podAccessInfo , podName , templatesToArtList , templatesByName )
@@ -401,7 +401,7 @@ func (woc *wfOperationCtx) createArtifactGCPod(ctx context.Context, strategy wfv
401
401
for templateName , artifacts := range templatesToArtList {
402
402
template , found := templatesByName [templateName ]
403
403
if ! found {
404
- return nil , fmt .Errorf ("can't find template with name %s??? " , templateName )
404
+ return nil , fmt .Errorf ("can't find template with name %q " , templateName )
405
405
}
406
406
407
407
if template .ArchiveLocation .HasLocation () {
0 commit comments