Revert "feat: Support config files with viper (#4558)" (#4692)

This reverts commit c8e299c8f1.
This commit is contained in:
Garrett Delfosse
2022-10-21 16:04:27 -04:00
committed by GitHub
parent 0d27b59ebb
commit a2fb444911
35 changed files with 1089 additions and 920 deletions

View File

@ -91,7 +91,7 @@ type Options struct {
IncludeProvisionerDaemon bool
MetricsCacheRefreshInterval time.Duration
AgentStatsRefreshInterval time.Duration
DeploymentConfig *codersdk.DeploymentConfig
DeploymentFlags *codersdk.DeploymentFlags
// Overriding the database is heavily discouraged.
// It should only be used in cases where multiple Coder
@ -268,7 +268,7 @@ func NewOptions(t *testing.T, options *Options) (func(http.Handler), context.Can
AutoImportTemplates: options.AutoImportTemplates,
MetricsCacheRefreshInterval: options.MetricsCacheRefreshInterval,
AgentStatsRefreshInterval: options.AgentStatsRefreshInterval,
DeploymentConfig: options.DeploymentConfig,
DeploymentFlags: options.DeploymentFlags,
}
}