Skip to content

featureflag: handle flags not being set

Administrator requested to merge k/feature-flag-default into main

Created by: keegancsmith

If your context hasn't had feature flags set we FromContext returns a nil FlagSet. This updates the implementation to handle a nil value as if the feature flag is not set.

Merge request reports

Loading