Skip to content

Commit

Permalink
fix: wrong return code
Browse files Browse the repository at this point in the history
  • Loading branch information
TrayserCassa committed Feb 12, 2025
1 parent 093b536 commit a52aeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/job/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func IsJobContainerDone(
if job.Status.Succeeded > 0 {
log.FromContext(ctx).Info(fmt.Sprintf("job not found in container: %s. But job has succeeded continue with job done.", containerName))
return JobState{
ExitCode: -404,
ExitCode: 0,
Running: false,
}, nil
}
Expand Down

0 comments on commit a52aeff

Please sign in to comment.