Skip to content

Rename getDeploymentProgressCondition - #1527

Merged
google-prow-robot merged 1 commit into
knative:masterfrom
jonjohnsonjr:jon/1168
Jul 9, 2018
Merged

google-prow-robot merged 1 commit into
knative:masterfrom
jonjohnsonjr:jon/1168

Conversation

@jonjohnsonjr

@jonjohnsonjr jonjohnsonjr commented Jul 9, 2018 •

Copy link
Copy Markdown
Contributor

s/getDeploymentProgressCondition/hasDeploymentTimedOut/

This now just returns a boolean, since we don't use the result.

Fixes #1168

@google-prow-robot google-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 9, 2018
@jonjohnsonjr

Copy link
Copy Markdown
Contributor Author

/assign @mattmoor

@jonjohnsonjr

Copy link
Copy Markdown
Contributor Author

I am prepared to defend this name but also open to bikeshedding 🎨

Comment thread pkg/controller/revision/revision.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We don't use the returned condition, so consider just making this hasDeploymentTimedOut?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@google-prow-robot google-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 9, 2018
s/getDeploymentProgressCondition/hasDeploymentTimedOut/

This now just returns a boolean, since we don't use the result.

@mattmoor mattmoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm
/approve

This is now the heaviest use of cmp.Diff I have seen :)

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2018
@google-prow-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonjohnsonjr, mattmoor

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

The pull request process is described here

Details 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

@google-prow-robot google-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2018
@google-prow-robot
google-prow-robot merged commit 0ad4e3d into knative:master Jul 9, 2018
@jonjohnsonjr
jonjohnsonjr deleted the jon/1168 branch July 9, 2018 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants