Fix input parameter not enabled if label/description provided for discovery services (#4393)

Fixes an issue from #4389.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
This commit is contained in:
Florian Hotze 2024-09-30 17:51:35 +02:00 committed by GitHub
parent b8b3ec9df0
commit c454ee2241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,7 +164,7 @@ public abstract class AbstractDiscoveryService implements DiscoveryService {
@Override
public boolean isScanInputSupported() {
return scanInputLabel != null && scanInputDescription != null;
return getScanInputLabel() != null && getScanInputDescription() != null;
}
@Override