Skip to content

chore: Adding erlanderlo as dataflow maintainers#3409

Open
guilherme-hosoda-cit wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
guilherme-hosoda-cit:chore/adding-erlanderlo-as-dataflow-maintainers
Open

chore: Adding erlanderlo as dataflow maintainers#3409
guilherme-hosoda-cit wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
guilherme-hosoda-cit:chore/adding-erlanderlo-as-dataflow-maintainers

Conversation

@guilherme-hosoda-cit
Copy link
Copy Markdown
Contributor

This PR adds @erlanderlo as one of the terraform-google-dataflow maintainers.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the maintainers list for the Dataflow job configuration in the Terraform locals file by adding a new user. The review feedback suggests using setunion() instead of concat() to ensure the resulting list contains unique entries and avoids potential duplicates.

description = "Handles opinionated Dataflow job configuration and deployments"
topics = local.common_topics.da
maintainers = local.adc_common_admins
maintainers = concat(["erlanderlo"], local.adc_common_admins)
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.

medium

When combining lists where uniqueness is desired, use setunion() instead of concat() to automatically handle and prevent duplicate entries.

      maintainers = setunion(["erlanderlo"], local.adc_common_admins)
References
  1. When combining lists where uniqueness is desired, use setunion() instead of concat() to automatically handle and prevent duplicate entries.

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.

Do I need to make this modification? I understand its purpose, but using concat is standard in this file.

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.

Also this value is used to define a value for a set variable, that already removes duplicated entries.

@guilherme-hosoda-cit
Copy link
Copy Markdown
Contributor Author

@erlanderlo could you take a look at this PR?

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.

1 participant