mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
For #25770 We already unmarshal macOS/Windows settings (added by Martin), so we replace the path with an absolute file path and keep them unmarshalled so they don't have to be re-unmarshalled later. Note: the custom UnmarshalJSON method on these structs checks for (and handles) legacy format (before labels were added). Also some refactorings: - extracted `extractControlsForNoTeam` - reorganized `TestGitOpsBasicGlobalAndNoTeam` with subtests -- I did not actually change functionality of this test # Checklist for submitter - [x] 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/Committing-Changes.md#changes-files) for more information. - [x] Added/updated automated tests - [x] A detailed QA plan exists on the associated ticket (if it isn't there, work with the product group's QA engineer to add it) - [x] Manual QA for all new/changed functionality |
||
|---|---|---|
| .. | ||
| cpe | ||
| cve | ||
| fleet | ||
| fleetctl | ||
| macoffice | ||
| msrc | ||
| osquery-perf | ||