Fix [here] links in Go code (#29722)

Fixes (partially) #29720.

Split from website changes since this has different reviewers. Assigned
to MDM for review since the non-comment change here touches setup
experience.

- [x] Changes file added to `orbit/changes`
This commit is contained in:
Ian Littman 2025-06-03 15:13:59 -06:00 committed by GitHub
parent 8f86e4a73b
commit 6216009625
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -0,0 +1 @@
* Revised "Migrate to Fleet" link anchor text.

View file

@ -84,7 +84,7 @@ Select **Start** and Remote Management window will appear soon:` +
var errorTemplate = template.Must(template.New("").Parse(`
### Something's gone wrong.
Please contact your IT admin [here]({{ .ContactURL }}).
Please [contact your IT admin]({{ .ContactURL }}).
`))
var unenrollBody = "## Migrate to Fleet\nUnenrolling you from your old MDM. This could take 90 seconds...\n\n%s"

View file

@ -6,7 +6,6 @@ import (
"encoding/base64"
"encoding/hex"
"fmt"
"github.com/fleetdm/fleet/v4/server/mdm"
"net"
"net/url"
"regexp"
@ -15,6 +14,8 @@ import (
"strings"
"time"
"github.com/fleetdm/fleet/v4/server/mdm"
"github.com/fleetdm/fleet/v4/server/config"
"github.com/fleetdm/fleet/v4/server/contexts/ctxerr"
"github.com/fleetdm/fleet/v4/server/contexts/logging"
@ -506,7 +507,7 @@ var extraDetailQueries = map[string]DetailQuery{
// the `mdm_bridge` table is used, the `mdmlocalmanagement.dll`
// registers an MDM with ProviderID = `Local_Management`
//
// Entries also need to be filtered by their enrollment status, described [here][1]
// Entries also need to be filtered by their [Intune enrollmentState][1]
//
// Member Value Description
// unknown 0 Device enrollment state is unknown