Skip to content

Commit

Permalink
chore: Removing debug feature flag logs from the server (#15931)
Browse files Browse the repository at this point in the history
  • Loading branch information
trishaanand authored Aug 11, 2022
1 parent 10c9f77 commit 48ab154
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public class AppsmithUserStrategy extends AbstractFlipStrategy {
@Override
public boolean evaluate(String featureName, FeatureStore store, FlippingExecutionContext executionContext) {
User user = (User) executionContext.getValue(FieldName.USER, true);
log.debug("Checking if feature {} is active for user {}", featureName, user.getEmail());

return StringUtils.endsWith(user.getEmail(), "@appsmith.com");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public void init(String featureName, Map<String, String> initParam) {
@Override
public boolean evaluate(String featureName, FeatureStore store, FlippingExecutionContext executionContext) {
User user = (User) executionContext.getValue(FieldName.USER, true);
log.debug("Checking if feature {} is active for user {}", featureName, user.getEmail());
int atIndex = user.getEmail().indexOf("@");

if (atIndex > 0) {
Expand Down

0 comments on commit 48ab154

Please sign in to comment.