fix: move experimental flag to server (#4959)

This commit is contained in:
Garrett Delfosse
2022-11-08 16:59:39 +00:00
committed by GitHub
parent b2a16d46c6
commit 2789fb7cac
11 changed files with 29 additions and 52 deletions
-1
View File
@@ -357,7 +357,6 @@ func Server(vip *viper.Viper, newAPI func(context.Context, *coderd.Options) (*co
AutoImportTemplates: validatedAutoImportTemplates,
MetricsCacheRefreshInterval: cfg.MetricsCacheRefreshInterval.Value,
AgentStatsRefreshInterval: cfg.AgentStatRefreshInterval.Value,
Experimental: ExperimentalEnabled(cmd),
DeploymentConfig: cfg,
PrometheusRegistry: prometheus.NewRegistry(),
}