diff options
author | Martin Kraft <mkraft@users.noreply.github.com> | 2018-05-24 10:22:54 -0400 |
---|---|---|
committer | Jesús Espino <jespinog@gmail.com> | 2018-05-24 16:22:54 +0200 |
commit | a51b2367a34d5cbefe720232b35ccf0d1aa63c98 (patch) | |
tree | a73fa2213e844809eee2e28b70dfee637e4a0b71 /utils/config.go | |
parent | 5f654079c05f7158aeeaecac8d663d5937d84f78 (diff) | |
download | chat-a51b2367a34d5cbefe720232b35ccf0d1aa63c98.tar.gz chat-a51b2367a34d5cbefe720232b35ccf0d1aa63c98.tar.bz2 chat-a51b2367a34d5cbefe720232b35ccf0d1aa63c98.zip |
MM-10402: Adds RunJobs to client config API. (#8846)
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 18e25c999..9a606389d 100644 --- a/utils/config.go +++ b/utils/config.go @@ -553,6 +553,8 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L hasImageProxy := c.ServiceSettings.ImageProxyType != nil && *c.ServiceSettings.ImageProxyType != "" && c.ServiceSettings.ImageProxyURL != nil && *c.ServiceSettings.ImageProxyURL != "" props["HasImageProxy"] = strconv.FormatBool(hasImageProxy) + props["RunJobs"] = strconv.FormatBool(*c.JobSettings.RunJobs) + // Set default values for all options that require a license. props["ExperimentalTownSquareIsReadOnly"] = "false" props["ExperimentalEnableAuthenticationTransfer"] = "true" |