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

fix: auto-activated by env can not match exactly #9417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

beastpu
Copy link
Contributor

@beastpu beastpu commented May 14, 2024

Description
I often use env to automatically trigger the profile, the env represent different business environments and I need to implement precise matching.

For example, there are two environments called cbt and cbtcn, I want to accurately match one of them based on environment variables. However, when the environment variable is set to cbtcn, it matches both environments, which is not what I expect.

Changes
I found that auto-activated by env is fuzzy matched.

so I want to add a new boolean field named exactMatch in the activation struct, which when set to true, would implement an exact match.

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.

None yet

1 participant