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

Surface workflow finished time in list run API #1122

Merged
merged 10 commits into from
Apr 11, 2019
Merged

Surface workflow finished time in list run API #1122

merged 10 commits into from
Apr 11, 2019

Conversation

IronPan
Copy link
Member

@IronPan IronPan commented Apr 9, 2019

/assign @rileyjbauer


This change is Reviewable

@IronPan IronPan closed this Apr 9, 2019
@IronPan IronPan reopened this Apr 9, 2019
@IronPan
Copy link
Member Author

IronPan commented Apr 10, 2019

/test kubeflow-pipeline-e2e-test

"WorkflowSpecManifest": r.WorkflowSpecManifest,
"Parameters": r.Parameters,
}).ToSql()
"UUID": r.UUID,
Copy link
Contributor

Choose a reason for hiding this comment

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

Are all these whitespace changes intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted

@@ -135,6 +135,14 @@ func (w *Workflow) ScheduledAtInSecOr0() int64 {
return 0
}

func (w *Workflow) FinishedAt() int64 {
if w.Status.FinishedAt.IsZero(){
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't need to be nil-checked?

Copy link
Member Author

Choose a reason for hiding this comment

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

no finishedAt is a struct not a pointer so it won't be nil. checking zero should be good.

@rileyjbauer
Copy link
Contributor

/lgtm

@IronPan
Copy link
Member Author

IronPan commented Apr 11, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rileyjbauer
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 086d476 into master Apr 11, 2019
@IronPan IronPan deleted the endtime branch May 30, 2019 07:16
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
- change to use port 9443
- add rbac for finalizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants