Skip to content

Commit a90227d

Browse files
Fix log message
1 parent e6ba3be commit a90227d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/com/cloud/resource/ResourceManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,14 +2256,14 @@ public void updateStoragePoolConnectionsOnHosts(Long poolId, List<String> storag
22562256

22572257
if (!hostsToConnect.isEmpty()) {
22582258
for (HostVO host : hostsToConnect) {
2259-
logger.debug(String.format("Connecting host [%s] to storage pool [%s]: %s", host, storagePool.getUuid()));
2259+
logger.debug(String.format("Connecting [%s] to [%s]", host, storagePool));
22602260
connectHostToStoragePool(host, storagePool);
22612261
}
22622262
}
22632263

22642264
if (!hostsToDisconnect.isEmpty()) {
22652265
for (HostVO host : hostsToDisconnect) {
2266-
logger.debug(String.format("Disconnecting host [%s] from storage pool [%s]: %s", host, storagePool.getUuid()));
2266+
logger.debug(String.format("Disconnecting [%s] from [%s]", host, storagePool));
22672267
disconnectHostFromStoragePool(host, storagePool);
22682268
}
22692269
}

0 commit comments

Comments
 (0)