Skip to content

Commit 8cd6569

Browse files
committed
Corrected log message syntax in vSphereCloud.
1 parent 67983fe commit 8cd6569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jenkinsci/plugins/vSphereCloud.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ void provisionedSlaveHasTerminated(final String cloneName) {
381381
try {
382382
vSphere = vSphereInstance();
383383
vSphere.destroyVm(cloneName, false);
384-
VSLOG.log(Level.FINER, "provisionedSlaveHasTerminated({0}): VM deleted", cloneName);
384+
VSLOG.log(Level.FINER, "provisionedSlaveHasTerminated({0}): VM destroyed.", cloneName);
385385
} catch (VSphereException ex) {
386-
VSLOG.log(Level.SEVERE, "provisionedSlaveHasTerminated({0}): Exception while trying to destroy VM", ex);
386+
VSLOG.log(Level.SEVERE, "provisionedSlaveHasTerminated(" + cloneName + "): Exception while trying to destroy VM", ex);
387387
} finally {
388388
if (vSphere != null) {
389389
vSphere.disconnect();

0 commit comments

Comments
 (0)