Pass the feature flag instead of false to RegisterAPIService

Doh. The feature flag was not actually being used to enable the new DS
config CRUD APIs. This PR fixes that, hashtag facepalm.
This commit is contained in:
beejeebus
2025-12-04 14:17:45 -05:00
parent ff97bfc772
commit 26c52796f6
+2 -1
View File
@@ -85,7 +85,8 @@ func RegisterAPIService(
accessControl,
//nolint:staticcheck // not yet migrated to OpenFeature
features.IsEnabledGlobally(featuremgmt.FlagDatasourceQueryTypes),
false,
//nolint:staticcheck // not yet migrated to OpenFeature
features.IsEnabledGlobally(featuremgmt.FlagQueryServiceWithConnections),
)
if err != nil {
return nil, err