Microservices - Configuration and Secrets Management
A developer wrote this code snippet to check a feature toggle but it always activates the feature regardless of toggle state:
if (featureToggle.isEnabled = true) {
enableFeature();
} else {
disableFeature();
}
What is the main error causing this behavior?