mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
linstor: fix host connect recursion regression (#10878)
This commit is contained in:
parent
3df83da86c
commit
4259e0b51b
@ -18,7 +18,6 @@ package org.apache.cloudstack.storage.datastore.provider;
|
||||
|
||||
import com.cloud.exception.StorageConflictException;
|
||||
import com.cloud.host.HostVO;
|
||||
import org.apache.cloudstack.storage.datastore.db.StoragePoolVO;
|
||||
|
||||
public class LinstorHostListener extends DefaultHostListener {
|
||||
@Override
|
||||
@ -28,7 +27,6 @@ public class LinstorHostListener extends DefaultHostListener {
|
||||
host.setParent(host.getName());
|
||||
hostDao.update(host.getId(), host);
|
||||
}
|
||||
StoragePoolVO pool = primaryStoreDao.findById(poolId);
|
||||
return super.hostConnect(host, pool);
|
||||
return super.hostConnect(hostId, poolId);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user