Skip to content

Commit 1cf70ea

Browse files
syedskattoju4
authored andcommitted
Remove the key delete logic
1 parent f3510c2 commit 1cf70ea

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/IscsiStorageCleanupMonitor.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected void runInContext() {
6060

6161
// check if they belong to any VM
6262
int[] domains = conn.listDomains();
63-
s_logger.debug(String.format(" ********* FOUND %d DOMAINS ************", domains.length));
63+
s_logger.debug(String.format("found %d domains", domains.length));
6464
for (int domId : domains) {
6565
Domain dm = conn.domainLookupByID(domId);
6666
final String domXml = dm.getXMLDesc(0);
@@ -93,12 +93,11 @@ protected void runInContext() {
9393
s_logger.warn("[ignored] Error cleaning up " + diskPath, e);
9494
}
9595
}
96-
diskStatusMap.remove(diskPath);
9796
}
9897
}
9998

10099
} catch (LibvirtException e) {
101-
s_logger.warn("[ignored] Error tryong to cleanup ", e);
100+
s_logger.warn("[ignored] Error trying to cleanup ", e);
102101
}
103102
}
104103

0 commit comments

Comments
 (0)