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 rule with environment #698

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Fix rule with environment #698

merged 3 commits into from
Apr 18, 2023

Conversation

thomaspoignant
Copy link
Owner

Description

During the migration to version v1.0.0 we broke the system that was allowing to have different rules per environment.
This PR fix the problem.

Changes include

  • Bugfix (non-breaking change that solves an issue)

Closes issue(s)

Resolve #697

Checklist

  • I have tested this code
  • I have added unit test to cover this code
  • I have followed the contributing guide

Signed-off-by: Thomas Poignant <[email protected]>
@netlify
Copy link

netlify bot commented Apr 18, 2023

Deploy Preview for go-feature-flag-doc-preview canceled.

Name Link
🔨 Latest commit 36f3dc5
🔍 Latest deploy log https://app.netlify.com/sites/go-feature-flag-doc-preview/deploys/643e98dbc3328c0008924bc9

Signed-off-by: Thomas Poignant <[email protected]>
@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Merging #698 (36f3dc5) into main (4539b15) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #698      +/-   ##
==========================================
+ Coverage   88.83%   88.86%   +0.02%     
==========================================
  Files          58       58              
  Lines        2661     2668       +7     
==========================================
+ Hits         2364     2371       +7     
  Misses        243      243              
  Partials       54       54              
Impacted Files Coverage Δ
ffuser/user.go 100.00% <100.00%> (ø)
internal/flag/internal_flag.go 91.28% <100.00%> (+0.13%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarcloud
Copy link

sonarcloud bot commented Apr 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thomaspoignant thomaspoignant merged commit 01d6ccc into main Apr 18, 2023
@thomaspoignant thomaspoignant deleted the 697-fix-env-variables branch April 18, 2023 13:26
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.

(bug) Environment rule not working
1 participant