Skip to content

Conversation

bznein
Copy link
Contributor

@bznein bznein commented Jun 8, 2020

All Submissions:

  • Have you opened an Issue before filing this PR?
  • Have you signed our CLA?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

@bznein bznein requested a review from chatton June 8, 2020 13:42
Copy link
Contributor

@LouisPlisso LouisPlisso left a comment

Choose a reason for hiding this comment

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

lambda: crdv1.delete_custom_resource_definition("mongodb.mongodb.com")
)

# Make sure that the CRD has being deleted before trying to create it again
if not wait_for_condition(
if not k8s_conditions.wait_for_condition(
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] maybe wait_for_condition can be renamed just wait?

Copy link
Contributor

Choose a reason for hiding this comment

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

or even k8s_conditions .wait_for(cond), either way, works well 👍

Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

Looking even better 👍

@bznein bznein merged commit eeff121 into master Jun 8, 2020
@bznein bznein deleted the CLOUDP-64640_refactor_k8s_utils branch June 8, 2020 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants