fix: skip ML availability check if ML is disabled (#23053)

pull/23075/head
bo0tzz 2025-10-19 03:32:30 +07:00 committed by GitHub
parent 06151ad173
commit e14d5fb277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -85,7 +85,7 @@ export class MachineLearningRepository {
}
}
if (!config.availabilityChecks.enabled) {
if (!config.enabled || !config.availabilityChecks.enabled) {
return;
}