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

This commit is contained in:
bo0tzz 2025-10-19 03:32:30 +02:00 committed by GitHub
parent 06151ad173
commit e14d5fb277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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