SupportBundles: Replace feature toggle with enabled (#63241)
replace feature toggle with enabled
This commit is contained in:
@@ -235,8 +235,7 @@ func (s *ServiceImpl) getHomeNode(c *contextmodel.ReqContext, prefs *pref.Prefer
|
||||
}
|
||||
|
||||
func isSupportBundlesEnabled(s *ServiceImpl) bool {
|
||||
return s.cfg.SectionWithEnvOverrides("support_bundles").Key("enabled").MustBool(true) &&
|
||||
s.features.IsEnabled(featuremgmt.FlagSupportBundles)
|
||||
return s.cfg.SectionWithEnvOverrides("support_bundles").Key("enabled").MustBool(true)
|
||||
}
|
||||
|
||||
func (s *ServiceImpl) addHelpLinks(treeRoot *navtree.NavTreeRoot, c *contextmodel.ReqContext) {
|
||||
|
||||
Reference in New Issue
Block a user