Chore(Navigation): Add feature toggle for new navigation work (#38929)

This commit is contained in:
Ashley Harrison
2021-09-07 17:24:44 +01:00
committed by GitHub
parent a811d7d76f
commit b24a4630a6
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -446,6 +446,10 @@ func (cfg Cfg) IsHTTPRequestHistogramDisabled() bool {
return cfg.FeatureToggles["disable_http_request_histogram"]
}
func (cfg Cfg) IsNewNavigationEnabled() bool {
return cfg.FeatureToggles["newNavigation"]
}
type CommandLineArgs struct {
Config string
HomePath string