-
Notifications
You must be signed in to change notification settings - Fork 253
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
nil pointer from pipelinerun describe #584
Comments
/kind bug |
@Conky5 Thanks for reporting/sorry for the issue. Could you possibly share your pipeline definition or something similar to it? |
I think the issue is actually here: cli/pkg/cmd/pipelinerun/describe.go Line 222 in 32662c8
There is no nil check like we traditionally do for sorting taskruns:
|
Hi @danielhelfand, here is the pipeline and task definition I am seeing this with:
The pipeline is being started with:
|
@Conky5 Thanks! I think I have found the problem, but I'll test out with something similar to your definition. |
Seems like we missed updating this, but adding the nil check for sorting the TaskRuns by start time resolves this. I'll open a pr here in a little.
|
Version and Operating System
tkn Version: 0.6.0
Operating System: alpine linux
Expected Behavior
tkn pipelinerun describe <name>
should show notpanic
.Actual Behavior
This error message is thrown:
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: