Add missing deprecation warning for --policies-team (#41071)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** For #41031 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. n/a ## Testing - [ ] Added/updated automated tests - [X] QA'd all new/changed functionality manually <img width="831" height="49" alt="image" src="https://github.com/user-attachments/assets/01bfa42f-4d33-4597-aa8d-db08b187b6d2" /> For unreleased bug fixes in a release candidate, one of: - [X] Confirmed that the fix is not expected to adversely impact load test results
This commit is contained in:
@@ -54,6 +54,10 @@ func applyCommand() *cli.Command {
|
||||
enableLogTopicsFlag(),
|
||||
disableLogTopicsFlag(),
|
||||
},
|
||||
Before: func(c *cli.Context) error {
|
||||
logDeprecatedFlagName(c, "policies-team", "policies-fleet")
|
||||
return nil
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
// Disable field deprecation warnings for now.
|
||||
// TODO - remove this in future release to unleash warnings.
|
||||
|
||||
Reference in New Issue
Block a user