remove driver lsmod check
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled

This commit is contained in:
ProgrammerIn-wonderland
2025-08-06 15:25:02 -04:00
committed by Neal Shah
parent 7b1fb5d9a6
commit 49d4cbc486
+7 -7
View File
@@ -151,17 +151,17 @@ class Drivers {
if ( ! service_name ) service_name = iface_name;
const key = `${iface_name}:${service_name}`;
if ( this.drivers_[key] ) return this.drivers_[key];
const interfaces = await this.list();
if ( ! interfaces[iface_name] ) {
throw new Error(`Interface ${iface_name} not found`);
}
// const interfaces = await this.list();
// if ( ! interfaces[iface_name] ) {
// throw new Error(`Interface ${iface_name} not found`);
// }
return this.drivers_[key] = new Driver ({
call_backend: new FetchDriverCallBackend({
context: this.context,
}),
iface: interfaces[iface_name],
// iface: interfaces[iface_name],
iface_name,
service_name,
});