Skip to content

Commit

Permalink
fix: Failure node failed to get archived log
Browse files Browse the repository at this point in the history
Signed-off-by: uucloud <uucloud@qq.com>
  • Loading branch information
uucloud committed Apr 13, 2021
1 parent ded95bc commit 0811cbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/argoexec/commands/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ func waitContainer(ctx context.Context) error {
// Saving output parameters
err = wfExecutor.SaveParameters(ctx)
if err != nil {
wfExecutor.AnnotateOutputs(ctx, logArt)
wfExecutor.AddError(err)
return err
}
// Saving output artifacts
err = wfExecutor.SaveArtifacts(ctx)
if err != nil {
wfExecutor.AnnotateOutputs(ctx, logArt)
wfExecutor.AddError(err)
return err
}
Expand Down

0 comments on commit 0811cbf

Please sign in to comment.