From 92dd9a7deb76e3b5325a49425be3bf9ab53b97a0 Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Fri, 21 Mar 2025 09:23:10 -0500 Subject: [PATCH] Another error message fix. (#27385) Changed FLEET_VARS_ to FLEET_VAR_ in error message --- server/service/apple_mdm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/service/apple_mdm.go b/server/service/apple_mdm.go index 031c6170c2..171604d137 100644 --- a/server/service/apple_mdm.go +++ b/server/service/apple_mdm.go @@ -587,7 +587,7 @@ func additionalDigiCertValidation(contents string, digiCertVars *digiCertVarsFou } } if len(foundCAs) < len(digiCertVars.CAs()) { - return &fleet.BadRequestError{Message: "Fleet variables $FLEET_VARS_DIGICERT_PASSWORD_ and $FLEET_VARS_DIGICERT_DATA_" + + return &fleet.BadRequestError{Message: "Fleet variables $FLEET_VAR_DIGICERT_PASSWORD_ and $FLEET_VAR_DIGICERT_DATA_" + " can only be present in 'com.apple.security.pkcs12' profiles and must match the Password and PayloadContent fields in the" + " profile exactly"} }