Skip to content

Commit 8e52e7a

Browse files
authored
fix: change log level because behavior is expected (argoproj#16124)
Signed-off-by: spaced <spaced.wombat@gmail.com>
1 parent 96d1684 commit 8e52e7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

workflow/controller/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ func (woc *wfOperationCtx) executeTemplate(ctx context.Context, nodeName string,
20942094
node, err = woc.wf.GetNodeByName(nodeName)
20952095
if err != nil {
20962096
// Will be initialized via woc.initializeNodeOrMarkError
2097-
woc.log.Warn(ctx, "Node was nil, will be initialized as type Skipped")
2097+
woc.log.Info(ctx, "Node was nil, will be initialized as type Skipped")
20982098
}
20992099

21002100
if node != nil {

workflow/executor/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (we *WorkflowExecutor) loadArtifact(ctx context.Context, pluginName wfv1.Ar
214214

215215
if !art.HasLocationOrKey() {
216216
if art.Optional {
217-
logger.WithField("name", art.Name).Warn(ctx, "Ignoring optional artifact which was not supplied")
217+
logger.WithField("name", art.Name).Info(ctx, "Ignoring optional artifact which was not supplied")
218218
return nil
219219
}
220220
return argoerrs.Errorf(argoerrs.CodeNotFound, "required artifact '%s' not supplied", art.Name)

0 commit comments

Comments
 (0)