Another error message fix. (#27385)

Changed FLEET_VARS_ to FLEET_VAR_ in error message
This commit is contained in:
Victor Lyuboslavsky 2025-03-21 09:23:10 -05:00 committed by GitHub
parent 102cc271bf
commit 92dd9a7deb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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_<ca_name> and $FLEET_VARS_DIGICERT_DATA_<ca_name>" +
return &fleet.BadRequestError{Message: "Fleet variables $FLEET_VAR_DIGICERT_PASSWORD_<ca_name> and $FLEET_VAR_DIGICERT_DATA_<ca_name>" +
" can only be present in 'com.apple.security.pkcs12' profiles and must match the Password and PayloadContent fields in the" +
" profile exactly"}
}