Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion server/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ issues:
channels/app/platform/busy_test.go|\
channels/app/platform/cluster_handlers.go|\
channels/app/platform/config_test.go|\
channels/app/platform/feature_flags.go|\
channels/app/platform/helper_test.go|\
channels/app/platform/license.go|\
channels/app/platform/link_cache.go|\
Expand Down
5 changes: 4 additions & 1 deletion server/channels/app/platform/feature_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ func (ps *PlatformService) updateFeatureFlagValuesFromManagement() {
if oldFlags != newFlags {
ps.logger.Debug("Feature flag change detected, updating config")
*newCfg.FeatureFlags = newFlags
ps.SaveConfig(newCfg, true)
_, _, appErr := ps.SaveConfig(newCfg, true)
if appErr != nil {
ps.logger.Error("Failed to save config with updated feature flags", mlog.Err(appErr))
}
}
}

Expand Down
Loading