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

Filter terraform keyword in documentation #93

Merged
merged 3 commits into from
Sep 12, 2022
Merged

Filter terraform keyword in documentation #93

merged 3 commits into from
Sep 12, 2022

Conversation

sergenyalcin
Copy link
Member

Description of your changes

Fixes #567

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested validating the results of make generate for provider-aws.

pkg/common.go Outdated Show resolved Hide resolved
pkg/common.go Outdated
// sentence.
func FilterDescription(description, keyword string) string {
var result []string
sentences := strings.Split(description, DescriptionSeparator)
Copy link
Collaborator

Choose a reason for hiding this comment

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

We assume the description string will contain . only at the end of a sentence. Can you validate this across current providers?

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thank you @sergenyalcin, lgtm.

pkg/pipeline/crd.go Show resolved Hide resolved
@sergenyalcin sergenyalcin merged commit d28e750 into crossplane:main Sep 12, 2022
@sergenyalcin sergenyalcin deleted the remove-terraform-keyword branch September 12, 2022 10:28
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.

2 participants