mirror of
https://github.com/fleetdm/fleet
synced 2026-05-12 11:38:27 +00:00
For batch upload of Apple DDM profiles with `fleetctl gitops`, fixed issue where activity feed was showing a change when profiles didn't actually change. For #25244 The root cause of the bug was using `NULLIF` instead of the correct `IFNULL` MySQL command. (Seriously, who named these?). Also, refactored [batchSetMDMAppleDeclarations](https://github.com/fleetdm/fleet/blob/victor/25244-batchsetMDMprofile/server/datastore/mysql/apple_mdm.go#L4224) method to speed up future changes/fixes. # 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 -- Actually, fixed test that was already failing - [x] Manual QA for all new/changed functionality
1 line
154 B
Text
1 line
154 B
Text
For batch upload of Apple DDM profiles with `fleetctl gitops`, fixed issue where activity feed was showing a change when profiles didn't actually change.
|