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

Ignore showing clusters PR url for statuses other than creation/deletion #1117

Merged
merged 4 commits into from Nov 22, 2021

Conversation

sarataha
Copy link
Contributor

Closes:

What changed?
Updated the if condition for Creation PR status

Why?
To ignore printing PR for statuses other than creation and deletion

How did you test it?

Release notes

Documentation Changes

@sarataha sarataha changed the title Update if condition to check if status is pullRequestCreated Ignore showing clusters PR url for statuses other than creation/deletion Nov 22, 2021
@sarataha sarataha added the bug Something isn't working label Nov 22, 2021
@sarataha sarataha requested a review from foot November 22, 2021 12:57
} else {
fmt.Fprintf(w, "%s\t%s", c.Name, c.Status)
fmt.Fprintln(w, "")
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! Could we pull all this out into a helper we share between GetClusters / GetClustersByName?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure! Thank you 🙏

Copy link
Contributor

@foot foot left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity/low low < medium < high < critical
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants