Skip to content

Commit

Permalink
Update operator.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Jun 14, 2024
1 parent 8b503a1 commit def51d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ func buildRetryStrategyLocalScope(node *wfv1.NodeStatus, nodes wfv1.Nodes) map[s
exitCode := "-1"
if lastChildNode.Outputs != nil && lastChildNode.Outputs.ExitCode != nil {
exitCode = *lastChildNode.Outputs.ExitCode
} else {
} else if lastChildNode.Message != nil {

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / Unit Tests

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / Lint

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)) (typecheck)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / Lint

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil) (typecheck)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-plugins, plugins)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-functional, v1.26.15+k3s1, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-python-sdk, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-cron, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-functional, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-cli, mysql)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-java-sdk, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-corefunctional, v1.26.15+k3s1, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-examples, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-executor, v1.26.15+k3s1, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-corefunctional, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-api, mysql)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / E2E Tests (test-executor, minimal)

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)

Check failure on line 1863 in workflow/controller/operator.go

View workflow job for this annotation

GitHub Actions / Windows Unit Tests

invalid operation: lastChildNode.Message != nil (mismatched types string and untyped nil)
tmpexitCode, err := extractExitCode(lastChildNode.Message)
if err == nil {
exitCode = tmpexitCode
Expand Down

0 comments on commit def51d3

Please sign in to comment.