Skip to content

Commit

Permalink
[lxd-import] lxd/cluster/config: Add missing bool default values
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin authored and stgraber committed Oct 26, 2023
1 parent 094189a commit ec70b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/server/cluster/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ var ConfigSchema = config.Schema{
// type: bool
// scope: global
// shortdesc: Whether to set `Access-Control-Allow-Credentials`
"core.https_allowed_credentials": {Type: config.Bool},
"core.https_allowed_credentials": {Type: config.Bool, Default: "false"},

// gendoc:generate(entity=server, group=core, key=core.https_trusted_proxy)
// Specify a comma-separated list of IP addresses of trusted servers that provide the client's address through the proxy connection header.
Expand Down Expand Up @@ -482,7 +482,7 @@ var ConfigSchema = config.Schema{
// type: bool
// scope: global
// shortdesc: Whether to automatically trust clients signed by the CA
"core.trust_ca_certificates": {Type: config.Bool},
"core.trust_ca_certificates": {Type: config.Bool, Default: "false"},

// gendoc:generate(entity=server, group=images, key=images.auto_update_cached)
//
Expand Down

0 comments on commit ec70b99

Please sign in to comment.