Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

cli: Only show CompleteTime if set #4113

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

briancain
Copy link
Member

Prior to this commit, the waypoint pipeline list CLI would attempt to show an invalid complete time, even if not set on the job. This would mean if you started a pipeline, the list CLI would claim that the pipeline completed "a long time ago", which is really code for that timestamp being nil. This commit fixes that behavior by only setting the complete time string if set on the job.

Fixes #3748

Prior to this commit, the `waypoint pipeline list` CLI would attempt to
show an invalid complete time, even if not set on the job. This would
mean if you started a pipeline, the list CLI would claim that the
pipeline completed "a long time ago", which is really code for that
timestamp being nil. This commit fixes that behavior by only setting the
complete time string if set on the job.

Fixes #3748
@briancain briancain added the pr/no-changelog No automatic changelog entry required for this pull request label Oct 26, 2022
@briancain briancain requested review from a team, demophoon and xiaolin-ninja October 26, 2022 15:51
@github-actions github-actions bot added the core label Oct 26, 2022
@briancain briancain removed the pr/no-changelog No automatic changelog entry required for this pull request label Oct 26, 2022
@briancain briancain merged commit b001780 into main Oct 26, 2022
@briancain briancain deleted the maint/cli/complete-time-fix-pipelines branch October 26, 2022 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pipeline run shows status as "success" even when the run is interrupted
2 participants