Feature flag is not working - Environment specification

  • I am trying to research on adding a feature flag for my project in gitlab
  • I am using java client SDK
  • With default (All environments) enabled in gitlab, my feature flag returns true in my java code. But If i disable “All environments” and enable a specific environment like “dev” it returns false.
  • Code to set the environment in the unleash config is present.

Thanks for taking the time to be thorough in your request, it really helps! :blush: