Remove generate-gitops warning about categories (#42514)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #30453

All the work for this was already done in
https://github.com/fleetdm/fleet/pull/32492. I verified that
`generate-gitops` outputs the expected categories, and that `gitops`
reads them back in correctly. This PR just removes the warning
This commit is contained in:
Scott Gress 2026-03-26 16:30:24 -05:00 committed by GitHub
parent f7f5664d82
commit 83d1b02d0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -725,12 +725,6 @@ func (cmd *GenerateGitopsCommand) Run() error {
})
}
if cmd.CLI.String(fleetFlagName) != "global" {
cmd.Messages.Notes = append(cmd.Messages.Notes, Note{
Note: "Warning: Software categories are not supported by this tool yet. If you have added any categories to software items, add them to the appropriate fleet .yml file.",
})
}
if len(cmd.Messages.Notes) > 0 {
fmt.Fprintf(cmd.CLI.App.Writer, "Other notes:\n")
for _, note := range cmd.Messages.Notes {