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

provider: ignore cloud: system tag key prefix as well as aws: #56

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

nktrnv
Copy link

@nktrnv nktrnv commented Oct 7, 2024

ENHANCEMENTS:

  • provider: ignore cloud: system tag key prefix as well as aws:

@nktrnv nktrnv force-pushed the ec2launchtemplate-tag branch 2 times, most recently from 1f6a5bb to 94467fc Compare October 11, 2024 15:23
@@ -41,7 +42,7 @@ func (tags KeyValueTags) IgnoreAWS() KeyValueTags {
result := make(KeyValueTags)

for k, v := range tags {
if !strings.HasPrefix(k, AwsTagKeyPrefix) {
if !strings.HasPrefix(k, AwsTagKeyPrefix) && !strings.HasPrefix(k, CloudTagKeyPrefix) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Можно добавить этот кейс в тесты (key_value_tags_test.go)

@PixarV PixarV added the fixup label Oct 28, 2024
@nktrnv nktrnv force-pushed the ec2launchtemplate-tag branch from 50d5d15 to 59e9c0f Compare November 13, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants