fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.15k stars 432 forks source link

fix: return a better error when attempting to turn off MDM for a Windows host #24044

Open jahzielv opened 7 hours ago

jahzielv commented 7 hours ago

Related issue: #23158

Checklist for submitter

If some of the following don't apply, delete the relevant line.

codecov[bot] commented 7 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.39%. Comparing base (fa93f34) to head (dfb0831). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #24044 +/- ## ========================================== + Coverage 63.38% 63.39% +0.01% ========================================== Files 1579 1579 Lines 149923 149934 +11 Branches 3766 3766 ========================================== + Hits 95030 95057 +27 + Misses 47315 47303 -12 + Partials 7578 7574 -4 ``` | [Flag](https://app.codecov.io/gh/fleetdm/fleet/pull/24044/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/fleetdm/fleet/pull/24044/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | `64.26% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: