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

rule: unset attribute if srcAttr is nil when merge #1992

Closed
wants to merge 1 commit into from

Conversation

ashi009
Copy link
Contributor

@ashi009 ashi009 commented Dec 10, 2024

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

all

What does this PR do? Why is it needed?

This change will allow merging a non-existing attribute to any kind dst attribute.

The current merge logic requires dst attribute to be a scaler to unset. Which will prevent gazelle to remove a target with attributes using glob().

Which issues(s) does this PR fix?

Fixes #1989

@ashi009 ashi009 closed this Dec 10, 2024
@ashi009
Copy link
Contributor Author

ashi009 commented Dec 10, 2024

breaks too many things with # keep comments.

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.

Can't unset an attr with GlobValue during merge
1 participant