Skip to content

Commit 429f91b

Browse files
committed
make tests pass
1 parent e6522cb commit 429f91b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

codersdk/deploymentconfig.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type DeploymentConfig struct {
2323
ProxyTrustedOrigins *DeploymentConfigField[[]string] `json:"proxy_trusted_origin"`
2424
CacheDirectory *DeploymentConfigField[string] `json:"cache_directory"`
2525
InMemoryDatabase *DeploymentConfigField[bool] `json:"in_memory_database"`
26-
ProvisionerDaemons *DeploymentConfigField[int] `json:"provisioner_daemon_count"`
26+
ProvisionerDaemons *DeploymentConfigField[int] `json:"provisioner_daemons"`
2727
PostgresURL *DeploymentConfigField[string] `json:"pg_connection_url"`
2828
OAuth2 *OAuth2Config `json:"oauth2"`
2929
OIDC *OIDCConfig `json:"oidc"`
@@ -47,12 +47,12 @@ type DERP struct {
4747
}
4848

4949
type DERPServerConfig struct {
50-
Enable *DeploymentConfigField[bool] `json:"enabled"`
50+
Enable *DeploymentConfigField[bool] `json:"enable"`
5151
RegionID *DeploymentConfigField[int] `json:"region_id"`
5252
RegionCode *DeploymentConfigField[string] `json:"region_code"`
5353
RegionName *DeploymentConfigField[string] `json:"region_name"`
54-
STUNAddresses *DeploymentConfigField[[]string] `json:"stun_address"`
55-
RelayURL *DeploymentConfigField[string] `json:"relay_address"`
54+
STUNAddresses *DeploymentConfigField[[]string] `json:"stun_addresses"`
55+
RelayURL *DeploymentConfigField[string] `json:"relay_url"`
5656
}
5757

5858
type DERPConfig struct {
@@ -61,12 +61,12 @@ type DERPConfig struct {
6161
}
6262

6363
type PrometheusConfig struct {
64-
Enable *DeploymentConfigField[bool] `json:"enabled"`
64+
Enable *DeploymentConfigField[bool] `json:"enable"`
6565
Address *DeploymentConfigField[string] `json:"address"`
6666
}
6767

6868
type PprofConfig struct {
69-
Enable *DeploymentConfigField[bool] `json:"enabled"`
69+
Enable *DeploymentConfigField[bool] `json:"enable"`
7070
Address *DeploymentConfigField[string] `json:"address"`
7171
}
7272

@@ -93,17 +93,17 @@ type OIDCConfig struct {
9393
}
9494

9595
type TelemetryConfig struct {
96-
Enable *DeploymentConfigField[bool] `json:"enabled"`
96+
Enable *DeploymentConfigField[bool] `json:"enable"`
9797
Trace *DeploymentConfigField[bool] `json:"trace"`
9898
URL *DeploymentConfigField[string] `json:"url"`
9999
}
100100

101101
type TLSConfig struct {
102102
Enable *DeploymentConfigField[bool] `json:"enable"`
103-
CertFiles *DeploymentConfigField[[]string] `json:"cert_files"`
103+
CertFiles *DeploymentConfigField[[]string] `json:"cert_file"`
104104
ClientAuth *DeploymentConfigField[string] `json:"client_auth"`
105105
ClientCAFile *DeploymentConfigField[string] `json:"client_ca_file"`
106-
KeyFiles *DeploymentConfigField[[]string] `json:"key_files"`
106+
KeyFiles *DeploymentConfigField[[]string] `json:"key_file"`
107107
MinVersion *DeploymentConfigField[string] `json:"min_version"`
108108
}
109109

0 commit comments

Comments
 (0)