Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/terraform/test-org/org/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ locals {
org = "terraform-google-modules"
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.

lint_env = {
ENABLE_BPMETADATA = "1"
}
Expand Down
Loading