mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: fix misleading error log (#5396)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
b13930f946
commit
3d16584fa6
@ -107,7 +107,7 @@ public class KVMStoragePoolManager {
|
||||
StorageAdaptorInfo info = storageAdaptor.getAnnotation(StorageAdaptorInfo.class);
|
||||
if (info != null && info.storagePoolType() != null) {
|
||||
if (this._storageMapper.containsKey(info.storagePoolType().toString())) {
|
||||
s_logger.error("Duplicate StorageAdaptor type " + info.storagePoolType().toString() + ", not loading " + storageAdaptor.getName());
|
||||
s_logger.warn(String.format("Duplicate StorageAdaptor type %s, not loading %s", info.storagePoolType().toString(), storageAdaptor.getName()));
|
||||
} else {
|
||||
try {
|
||||
this._storageMapper.put(info.storagePoolType().toString(), storageAdaptor.newInstance());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user