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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user