Skip to content

Commit 42b092a

Browse files
committed
move logger info
1 parent d76b589 commit 42b092a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public final class LibvirtPostCertificateRenewalCommandWrapper extends CommandWr
4646

4747
@Override
4848
public Answer execute(final PostCertificateRenewalCommand command, final LibvirtComputingResource serverResource) {
49-
logger.info("Restarting libvirt after certificate provisioning/renewal");
5049
if (command != null) {
5150
pushRenewedVncCertificateToRunningVms(serverResource);
5251
restartLibvirtd();
@@ -56,6 +55,7 @@ public Answer execute(final PostCertificateRenewalCommand command, final Libvirt
5655
}
5756

5857
private void restartLibvirtd() {
58+
logger.info("Restarting libvirt after certificate provisioning/renewal");
5959
final int timeout = 30000;
6060
Script script = new Script(true, "service", timeout, logger);
6161
script.add("libvirtd");

0 commit comments

Comments
 (0)