Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Fix the retry issue with deployment verification #387

Merged

Conversation

houshengbo
Copy link

@houshengbo houshengbo commented Apr 1, 2020

Fixes #

Proposed Changes

  • This PR fixed the broken retry mechanism, checking whether the deployments reach the desired state. It used to return false, err, which would run the check only once, but we need to return false, nil, till we reach the desired state. This PR made the correct changes for the retry mechanism.

Release Note


@googlebot googlebot added the cla: yes Author(s) signed a CLA. label Apr 1, 2020
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@houshengbo: 0 warnings.

In response to this:

Fixes #

Proposed Changes

Release Note


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: houshengbo

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

@aliok
Copy link
Member

aliok commented Apr 3, 2020

@houshengbo
Can you give some details about this PR?
I think the code changes look fine, but just want to understand what the original problem was.

@houshengbo
Copy link
Author

@aliok I added in the comments of the PR.

@aliok
Copy link
Member

aliok commented Apr 4, 2020

/lgtm

makes perfect sense 👍

@knative-prow-robot knative-prow-robot merged commit acb5e5d into knative:master Apr 4, 2020
houshengbo pushed a commit to houshengbo/serving-operator that referenced this pull request May 18, 2020
houshengbo pushed a commit to houshengbo/serving-operator that referenced this pull request May 18, 2020
houshengbo pushed a commit to houshengbo/serving-operator that referenced this pull request May 18, 2020
houshengbo pushed a commit to houshengbo/serving-operator that referenced this pull request May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants