Change default org name for fleet preview (#2642)

This commit is contained in:
gillespi314 2021-10-22 17:35:01 -05:00 committed by GitHub
parent c0da657cd3
commit 6c58159fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1 @@
* Change fleetctl preview default organization name from "Fleet Preview" to "Fleet for osquery"

View File

@ -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")
}