Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): Fix missing logs bug #4960

Merged
merged 1 commit into from
Jan 28, 2021
Merged

fix(server): Fix missing logs bug #4960

merged 1 commit into from
Jan 28, 2021

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Jan 28, 2021

Signed-off-by: Alex Collins [email protected]

Checklist:

@alexec alexec requested a review from simster7 January 28, 2021 01:10
@@ -221,7 +221,7 @@ func WorkflowLogs(ctx context.Context, wfClient versioned.Interface, kubeClient
return
}
logCtx.WithFields(log.Fields{"eventType": event.Type, "podName": pod.GetName(), "phase": pod.Status.Phase}).Debug("Pod event")
if pod.Status.Phase == corev1.PodRunning {
if pod.Status.Phase != corev1.PodPending {
ensureWeAreStreaming(pod)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we want to stream successful/failed pods too

@alexec alexec marked this pull request as ready for review January 28, 2021 02:32
@alexec alexec merged commit e00623d into argoproj:master Jan 28, 2021
@alexec alexec deleted the log branch January 28, 2021 16:13
@simster7 simster7 mentioned this pull request Feb 1, 2021
32 tasks
@simster7 simster7 mentioned this pull request Feb 8, 2021
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants