fleetctl config set --token: Simplify output message (#39788)

For the following quick win:
- https://github.com/fleetdm/fleet/issues/39787
This commit is contained in:
Noah Talerman
2026-02-13 09:34:25 -05:00
committed by GitHub
parent 3b800a5cfd
commit 4baa3caf86
+1 -2
View File
@@ -300,8 +300,7 @@ func configSetCommand() *cli.Command {
if err := setConfigValue(configPath, context, "token", flToken); err != nil {
return fmt.Errorf("error setting token: %w", err)
}
// Redact the token from the output as this may be run in contexts where it is logged.
fmt.Printf("[+] Set the token config key to \"<redacted>\" in the %q context\n", c.String("context"))
fmt.Printf("[+] Set the token in the %q context\n", c.String("context"))
}
if flTLSSkipVerify {