mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Change default org name for fleet preview (#2642)
This commit is contained in:
parent
c0da657cd3
commit
6c58159fb8
2 changed files with 4 additions and 2 deletions
1
changes/Issue-2281-fleet-preview-name
Normal file
1
changes/Issue-2281-fleet-preview-name
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Change fleetctl preview default organization name from "Fleet Preview" to "Fleet for osquery"
|
||||
|
|
@ -141,7 +141,7 @@ Use the stop and reset subcommands to manage the server and dependencies once st
|
|||
return errors.Wrap(err, "Error creating Fleet API client handler")
|
||||
}
|
||||
|
||||
token, err := fleetClient.Setup(email, "Admin", password, "Fleet Preview")
|
||||
token, err := fleetClient.Setup(email, "Admin", password, "Fleet for osquery")
|
||||
if err != nil {
|
||||
switch errors.Cause(err).(type) {
|
||||
case service.SetupAlreadyErr:
|
||||
|
|
@ -232,7 +232,8 @@ Use the stop and reset subcommands to manage the server and dependencies once st
|
|||
|
||||
// disable anonymous analytics collection for preview
|
||||
if err := client.ApplyAppConfig(map[string]map[string]bool{
|
||||
"server_settings": {"enable_analytics": false}},
|
||||
"server_settings": {"enable_analytics": false},
|
||||
},
|
||||
); err != nil {
|
||||
return errors.Wrap(err, "Error disabling anonymous analytics collection in app config")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue